Add light_living_room configuration with toggle and off events

This commit is contained in:
2026-05-26 08:36:49 +02:00
parent 80cecdb9f0
commit 63386406ce

View File

@@ -40,4 +40,23 @@ light_bookshelves:
#light_brightness_pct:
# 5: input_boolean.sleeping
# 25: binary_sensor.day_interval_night
# 100: True
# 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