add bedroom nightstand light configuration with brightness control events
This commit is contained in:
@@ -25,6 +25,7 @@ light_hallway:
|
||||
1: input_boolean.sleeping
|
||||
25: binary_sensor.day_interval_night
|
||||
100: True
|
||||
|
||||
|
||||
light_restroom:
|
||||
module: smartlight
|
||||
@@ -38,4 +39,39 @@ light_restroom:
|
||||
light_brightness_pct:
|
||||
1: input_boolean.sleeping
|
||||
25: binary_sensor.day_interval_night
|
||||
100: True
|
||||
100: True
|
||||
|
||||
light_bedroom_nightstand:
|
||||
module: smartlight
|
||||
class: SmartLight
|
||||
entity: light.berdroom_bedlight
|
||||
|
||||
toggle_events:
|
||||
button_press:
|
||||
event_name: zha_event
|
||||
event_data:
|
||||
device_name: 'bedroom_hue_remote'
|
||||
args:
|
||||
press_type: 'press'
|
||||
button: 'off'
|
||||
|
||||
increase_brightness_events:
|
||||
up_hold:
|
||||
event_name: zha_event
|
||||
event_data:
|
||||
device_name: 'bedroom_hue_remote'
|
||||
args:
|
||||
press_type: 'hold'
|
||||
button: 'up'
|
||||
|
||||
decrease_brightness_events:
|
||||
down_hold:
|
||||
event_name: zha_event
|
||||
event_data:
|
||||
device_name: 'bedroom_hue_remote'
|
||||
args:
|
||||
press_type: 'hold'
|
||||
button: 'down'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user