diff --git a/apps/yaml/lights.yaml b/apps/yaml/lights.yaml index 6047f53..88308ad 100644 --- a/apps/yaml/lights.yaml +++ b/apps/yaml/lights.yaml @@ -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 \ No newline at end of file + 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' + + + \ No newline at end of file