after setting up the semantic model I have noticed that some model badges on the cards seem to show the reversed state (or I don’t get the concept).
For example on Yannicks demo page the model card of Corridor:
Here the Lock icon shows unlocked then the Lock is currently on. Also the Heating Icon shows a snowflake when the heating is on.
I can understand that the snowflake is representing a HVAC equipment, but I can’t wrap my head around the lock icon.
The radiator icon wasn’t looking too good, it was just a big square with a black/white filter applied
About locks, I don’t have any, but I assumed ON or OPEN meant “unlocked” and OFF or CLOSED meant “locked”. If you think I’m wrong we can flip the icons.
maybe we could use bacon strips as a sign for general ventilation, be it cooling or heating.
The closest I found in f7 is f7:wind but I was thinking about the Oh icon “smoke”:
Regarding the lock, CLOSED is locked, I agree. But my gut feeling would be that ON is also locked, but I admit that is a matter of taste, so I can just flip the group logic
What Point did you setup your lock in the semantic model?
I have set a group of my dana lock as Lock, but what’s the right “Point” for the lock’s state?
Switch?
OpenState?
Status?
I have seen various users that confirm that “Locked” is “ON” and “Unlocked” is “OFF” for their locks, I am also one of them. I realize that people with devices where this is flipped would not complain on the forum, so I am not 100% sure. If the badge could be configured somewhere this would also be fine.
Some references:
My devices are “Danalock” locks. So I would vote for 'locked" is “ON”
Thx for your great work on the OH3 UI, I really like its beauty, flexibility and versatility.
This is not a solution to the particular problem posted but perhaps related, and in any case something to keep in mind with these location badges. My location badge showed an open lock regardless of whether the lock switch was ON or OFF. I changed the Semantic Class of the lock switch item from “Switch” to “Point”, and thereafter it worked correctly.
Probably something I don’t understand with this hint.
Tried editing my Home page in the top section to match this example but had no effect. Lock badge still reversed. Using 3.2.0