We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
In Home Assistant:
- alias: some automation trigger: platform: template value_template: "{{ is_state('binary_sensor.test', 'on') }}" action: - service: homeassistant.turn_on entity_id: switch.test
In Pyscript:
@state_trigger('binary_sensor.test == "on"') def turn_on(): homeassistant.turn_on(entity_id='switch.test')