Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Test - Desk Presence
- description: ""
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.presence_desk_presence
- condition: []
- action:
- - if:
- - condition: state
- entity_id: binary_sensor.presence_desk_presence
- state: "on"
- then:
- - type: turn_on
- device_id: 29d4ea14dbadaf2b25798665e68a5fb0
- entity_id: 9d294267ff09024ecbd1d54946916ef1
- domain: light
- else:
- - type: turn_off
- device_id: 29d4ea14dbadaf2b25798665e68a5fb0
- entity_id: 9d294267ff09024ecbd1d54946916ef1
- domain: light
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement