diff --git a/apps/rooms/living_room.yaml b/apps/rooms/living_room.yaml index 02e91a7..25e5c37 100644 --- a/apps/rooms/living_room.yaml +++ b/apps/rooms/living_room.yaml @@ -40,4 +40,23 @@ light_bookshelves: #light_brightness_pct: # 5: input_boolean.sleeping # 25: binary_sensor.day_interval_night - # 100: True \ No newline at end of file + # 100: True + +light_living_room: + module: smartlight + class: SmartLight + entity: light.living_room + + toggle_events: + button_press: + event_name: state_changed + debounce_seconds: 0.5 + event_data: + entity_id: event.living_room_bilresa_button_bouton_1 + new_state: + attributes: + event_type: multi_press_1 + + + off_events: + - turn_off_all_lights \ No newline at end of file