[Bug]: sensor and binary_sensor opposite
See original GitHub issueCurrent Behavior
When the sensor is closed the icon is highlighted
binary_sensor is open it is highlight
Expected Behavior
They both act the same way. Preferable highlight/colored when in the open position.
Can there be a switch to invert the state for the icon?
Steps To Reproduce
Environment
- OS: Ubuntu 20.04
- Home Assistant Core 2022.5.3
- Home Assistant Supervisor 2022.05.1
- Docker Version 20.10.15
Anything else?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Trigger-based binary sensor: icon is set in opposite way
The "icon" is either “mdi:shield-check” when ON or “mdi:shield-off” when OFF. Works fine. Now this trigger-based sensor: - trigger: - platform: ...
Read more >Binary sensor not properly shown · Issue #505 · kalkih/mini ...
I want to graph two different binary sensors, one for a door lock sensor, the other for my heating systeem Now, using this...
Read more >Binary Sensor Component
With ESPHome you can use different types of binary sensors. They will automatically appear in the Home Assistant front-end and have several configuration ......
Read more >How to handle multiple endpoints in Homeassistant
2/ contrary to other devices which probably have state_1, state_2, etc… ... Forget about input_boolean, it can be easier with binary_sensor template:.
Read more >Change defaut state of a binary sensor from always ON to ...
Right now they seem to work in reverse of logic. They are always in the ON state or motion detected state, and should...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will close this as I was able to create binary sensors from the sensors to allow them to act as needed. Thank you!
Interesting. I will look at creating a binary_sensor from the sensor.