Closed JaroslawPrzybyl closed 1 year ago
Hey, I would recommend you to use a switch template for this.
https://www.home-assistant.io/integrations/switch.template/
or a cover template
https://www.home-assistant.io/integrations/cover.template/
This is the standard way in homeassistant to combine multiple entities and also allows you to use it in HA UI aswell.
PROBLEM DESCRIPTION
I have an entity (garage door) where its state is indicated by other sensor than switch using for open/close. I did it as follow:
status: 'ha:{{is_state("binary_sensor.cio_in_1", "off")}}'
but it doesn't work (anyway: why? Template returns correct values: false when sensor state is on and true when off) I'm skipping requested information as not connected to my issue.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
[ ] Provide a screenshot of your tasmota mqtt configuration: NA
[ ] Provide your appdaemon.yaml:
apps.yaml here: NA
Log output here: NA