I’m new to HA.
I have a zwave garage door open connected to my vera unit.
It functions just like a switch.
When the Garage is closed, the icon shows closed, the toggle states shows off.
How can I make the toggle state show on instead. And show off when it’s opened?
I have it grouped in with my Door Locks.
So all of my Door Locks show locked and on.
So I want this to show closed and on.
You’ll need to replace switch.garage_door in the above example with the actual name of your current switch. And in your group, you will have to add the new switch switch.garage_inverted.
Thanks for the reply.
That worked, however, now my icons are flipped.
It now shows a yellow closed garage door.
I think I want it to show a blue (closed) garage door when it’s closed…
and a blue (opened) garage door when it’s open. (or if its possible, make the open garage door red?)
The way my locks work are, they are blue when locked and unlocked.
I’m ok with that, but I wonder if there is a way to change the unlocked color to red as well?
Building off @marthocoo’s answer, here is what I used with my Insteon IOLinc (Garage Door Kit). The sensor and relay show up as 2 different entities. I hid my real entities from the UI via customization and replaced it with this switch on my dashboard:
This is the code I use. In my case I use a Tuya valve turner to operate some DC isolators for a solar system where the isolators are in an inconvenient position behind a rain water tank.
Due to the location and rotation direction of the isolators, the switches end up showing the status reversed (ie off = isolators connected), here’s my solution.
Using this, you can change the wording on the card that is reported per state, the colours and the icons as well as the text positions etc.
It’s doesn’t modify the switch state anywhere except for display on the card, the card is actionable and set to toggle in my case.
You will need custom:button-card installed for this to work.
hi i am new and sorry if my terms are not clear. Reverse works very well, but when the switch is passive, it only appears to be closed. Can’t we be passive?