Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Pracownia termostat - stan okna
- description: ""
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.okno_pracownia_contact
- condition: []
- action:
- - choose:
- - conditions:
- - condition: state
- entity_id: binary_sensor.okno_pracownia_contact
- state: "on"
- sequence:
- - type: turn_on
- device_id: 69581cb1f8d9945c724afc4812f120c7
- entity_id: 9ec6dbeca994378c56b1b04068be3431
- domain: switch
- - conditions:
- - condition: state
- entity_id: binary_sensor.okno_pracownia_contact
- state: "off"
- sequence:
- - type: turn_off
- device_id: 69581cb1f8d9945c724afc4812f120c7
- entity_id: 9ec6dbeca994378c56b1b04068be3431
- domain: switch
- default: []
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement