Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: 'Hue Remotes - Bedroom on'
- trigger:
- platform: state
- entity_id: sensor.bedroom
- to: '1_click_up'
- action:
- - service: light.turn_on
- entity_id: light.fibaro_system_fgd212_dimmer_2_level
- - alias: 'Hue Remotes - Bedroom full'
- trigger:
- platform: state
- entity_id: sensor.bedroom
- to: '1_click_up'
- condition:
- condition: state
- entity_id: light.fibaro_system_fgd212_dimmer_2_level
- state: 'on'
- action:
- - service: light.turn_on
- entity_id: light.fibaro_system_fgd212_dimmer_2_level
- data:
- brightness: '255'
- - alias: 'Hue Remotes - Bedrom off'
- trigger:
- platform: state
- entity_id: sensor.bedroom
- to: '4_click_up'
- action:
- - service: light.turn_off
- entity_id: light.fibaro_system_fgd212_dimmer_2_level
- - alias: 'Hue Remotes - All lights off'
- trigger:
- platform: state
- entity_id: sensor.bedroom
- to: '4_hold_up'
- action:
- - service: light.turn_off
- entity_id: group.all_lights
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement