add bedroom nightstand light configuration with brightness control events
This commit is contained in:
@@ -26,6 +26,7 @@ light_hallway:
|
|||||||
25: binary_sensor.day_interval_night
|
25: binary_sensor.day_interval_night
|
||||||
100: True
|
100: True
|
||||||
|
|
||||||
|
|
||||||
light_restroom:
|
light_restroom:
|
||||||
module: smartlight
|
module: smartlight
|
||||||
class: SmartLight
|
class: SmartLight
|
||||||
@@ -39,3 +40,38 @@ light_restroom:
|
|||||||
1: input_boolean.sleeping
|
1: input_boolean.sleeping
|
||||||
25: binary_sensor.day_interval_night
|
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