Advertisement
Guest User

Automations

a guest
Nov 15th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.73 KB | None | 0 0
  1. - action:
  2.   - alias: Zet woonkamer eettafel spots aan
  3.     data:
  4.       entity_id: relais_woonakmer_eettafel_een
  5.     service: switch.turn_on
  6.   alias: koppel verlichting woonkamer 1 van 4
  7.   condition:
  8.   - condition: state
  9.     entity_id: switch.relais_woonkamer_eettafel_een
  10.     state: 'off'
  11.   id: '1510517358206'
  12.   trigger:
  13.   - entity_id: switch.relais_woonkamer_straatkant_een
  14.     from: 'off'
  15.     platform: state
  16.     to: 'on'
  17.  
  18. - action:
  19.   - alias: Zet woonkamer eettafel spots uit
  20.     data:
  21.       entity_id: relais_woonakmer_eettafel_een
  22.     service: switch.turn_off
  23.   alias: koppel verlichting woonkamer 2 van 4
  24.   condition:
  25.   - condition: state
  26.     entity_id: switch.relais_woonkamer_eettafel_een
  27.     state: 'on'
  28.   id: '1510517358208'
  29.   trigger:
  30.   - entity_id: switch.relais_woonkamer_straatkant_een
  31.     from: 'on'
  32.     platform: state
  33.     to: 'off'
  34.  
  35. - action:
  36.   - alias: Zet woonkamer straatkant spots uit
  37.     data:
  38.       entity_id: relais_woonakmer_straatkant_een
  39.     service: switch.turn_off
  40.   alias: koppel verlichting woonkamer 3 van 4
  41.   condition:
  42.   - condition: state
  43.     entity_id: switch.relais_woonkamer_straatkant_een
  44.     state: 'on'
  45.   id: '1510517358218'
  46.   trigger:
  47.   - entity_id: switch.relais_woonkamer_eettafel_een
  48.     from: 'on'
  49.     platform: state
  50.     to: 'off'
  51.    
  52. - action:
  53.   - alias: Zet woonkamer straatkant spots aan
  54.     data:
  55.       entity_id: relais_woonakmer_straatkant_een
  56.     service: switch.turn_on
  57.   alias: koppel verlichting woonkamer 4 van 4
  58.   condition:
  59.   - condition: state
  60.     entity_id: switch.relais_woonkamer_straatkant_een
  61.     state: 'off'
  62.   id: '1510517358216'
  63.   trigger:
  64.   - entity_id: switch.relais_woonkamer_eettafel_een
  65.     from: 'off'
  66.     platform: state
  67.     to: 'on'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement