The issue is. When I save the file the Basic UI will be empty. None of defined in the section values and icons are displayed.
I do not have any warning in the event.log
I tried to define other formats, %s%% for example.
I tried to change from Default item to text. I simply can not display the Humidity section in the Basic UI.
non-formated number is just a floating point number with two numbers after dec. value.
Any suggestions how to display it properly in the Basic UI?
Text item=UpstairsThermostat21_SensorRelativeHumidity2 label="Upstairs Humidity"
Text item=MainThermostat14_SensorRelativeHumidity2 label="Main Floor Humidity"
I do not think so. All of my items are specified this way in the sitemap and it works.
Anyway i listened you suggestion and placed the space what caused immediate error
2024-12-08 12:44:41.734 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'home.sitemap' has errors, therefore ignoring it: [29,28]: no viable alternative at input 'item'
Removing the space after the “item=” is not resolving the issue
I’m no expert, but that tends to indicate something in the second line throws the whole section off. Maybe there is some sort of hidden character. I would try to delete the line and recreate, copying the item directly from the UI item page. I’d also temporarily create a separate section “SONOFF2” just for the humidity item
Line 29 is exactly the line of the Humidity Item to be displayed. I do not see anything wrong here or I am already sitting too long on this subject and missing something obvious…
What are the item definitions of the working and non-working items? I notice your humidity item as of type Number. Are the working ones as well, or do they have a dimension?
I also see the working ones have a space between the number and the unit. You don’t in your original state description.
I admit this is flailing. Two more ideas; 1) delete the state meta data from the item 2A&B ) try Text, Number in place of default (if you haven’t already)
this works!!!
It seams if you define the pattern in the item configuration %.1f%% it is displayed properly in the item UI like below. But in this case you can not display item in the Basic UI at all and the whole section disappears
If you remove pattern in the UI of the item. the row number is displayed. But in this case you can format it in the sitemap properly.
I think there is something wrong with this.
Interesting?!. I think there is some mismatch between what the channel sends and the item is setup with the metadata and the sitemap “Default” was confused. Just a theory. Beyond my knowledge on how to fix.