Add light_living_room configuration with toggle and off events
This commit is contained in:
@@ -40,4 +40,23 @@ light_bookshelves:
|
|||||||
#light_brightness_pct:
|
#light_brightness_pct:
|
||||||
# 5: input_boolean.sleeping
|
# 5: input_boolean.sleeping
|
||||||
# 25: binary_sensor.day_interval_night
|
# 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
|
||||||
Reference in New Issue
Block a user