Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - service_template:
- "{% if is_state('binary_sensor.door_window_sensor_158d0001fd55d5', 'on') %}
- rest_command.set_climate_to_on
- {% elif is_state('binary_sensor.door_window_sensor_158d0001fd55d5', 'off') %}
- climate.set_operation_mode
- entity_id: climate.panasonic_aircon
- data:
- operation_mode: 'off'
- {% else %}
- # Do Nothing
- {% endif %}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement