Advertisement
Guest User

Untitled

a guest
Oct 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.09 KB | None | 0 0
  1.  - alias: 'Hue Remotes - Bedroom on'
  2.     trigger:
  3.       platform: state
  4.       entity_id: sensor.bedroom
  5.       to: '1_click_up'
  6.     action:
  7.       - service: light.turn_on
  8.         entity_id: light.fibaro_system_fgd212_dimmer_2_level
  9.  
  10.   - alias: 'Hue Remotes - Bedroom full'
  11.     trigger:
  12.       platform: state
  13.       entity_id: sensor.bedroom
  14.       to: '1_click_up'
  15.     condition:
  16.       condition: state
  17.       entity_id: light.fibaro_system_fgd212_dimmer_2_level
  18.       state: 'on'
  19.     action:
  20.       - service: light.turn_on
  21.         entity_id: light.fibaro_system_fgd212_dimmer_2_level
  22.         data:
  23.           brightness: '255'
  24.  
  25.   - alias: 'Hue Remotes - Bedrom off'
  26.     trigger:
  27.       platform: state
  28.       entity_id: sensor.bedroom
  29.       to: '4_click_up'
  30.     action:
  31.       - service: light.turn_off
  32.         entity_id: light.fibaro_system_fgd212_dimmer_2_level
  33.    
  34.   - alias: 'Hue Remotes - All lights off'
  35.     trigger:
  36.       platform: state
  37.       entity_id: sensor.bedroom
  38.       to: '4_hold_up'
  39.     action:
  40.       - service: light.turn_off
  41.         entity_id: group.all_lights
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement