Advertisement
noam76

automation shabbat

Feb 7th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.57 KB | None | 0 0
  1. - id: '0000000'
  2.   alias: Turn ON light shabbat
  3.   trigger:
  4.   - entity_id: sensor.shabbat_is_shabbat
  5.     from: 'false'
  6.     platform: state
  7.     to: 'true'
  8.   condition: []
  9.   action:
  10.   - data:
  11.       entity_id: switch.neo_coolcam_wall_switch_1_channel_switch
  12.     service: switch.turn_on
  13. - id: '00000000'
  14.   alias: Turn OFF light shabbat
  15.   trigger:
  16.   - entity_id: sensor.shabbat_is_shabbat
  17.     from: 'true'
  18.     platform: state
  19.     to: 'false'
  20.   condition: []
  21.   action:
  22.   - data:
  23.       entity_id: switch.neo_coolcam_wall_switch_1_channel_switch
  24.     service: switch.turn_off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement