Button Light Menu

This commit is contained in:
darthsandmann
2022-08-07 20:10:43 +02:00
parent 6b07c3b488
commit d7fedcd96b
11 changed files with 631 additions and 94 deletions

View File

@ -22,4 +22,13 @@ scene:
rgb_color: [255, 139, 21]
state: true
brightness: 1
switch.adaptive_lighting_sleep_mode_default: on
switch.adaptive_lighting_sleep_mode_default: on
- name: light_bright
entities:
switch.adaptive_lighting_default: off
light.all_direct: false
light.all_lights:
color_temp: 238
state: true
brightness: 255
switch.adaptive_lighting_sleep_mode_default: off

View File

@ -25,4 +25,46 @@ script:
data:
store_name: flash_store
operation: restore
light_ceiling_save:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
entity_id:
- light.ceiling
light_ceiling_restore:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
operation: restore
light_ceiling_bed_save:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
entity_id:
- light.bed_ceiling
light_ceiling_bed_restore:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
operation: restore
light_indirect_save:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
entity_id:
- light.all_indirect
light_indirect_restore:
sequence:
- service: python_script.light_store
data:
store_name: ceiling_store
operation: restore

View File

@ -19,28 +19,28 @@ yeelight:
10.10.10.82:
name: ceiling1
save_on_change: False
transition: 1000
transition: 500
10.10.10.83:
name: ceiling2
save_on_change: False
transition: 1000
transition: 500
10.10.10.80:
name: ceiling3
save_on_change: False
transition: 1000
transition: 500
10.10.10.81:
name: bed_ceiling
save_on_change: False
transition: 1000
transition: 500
10.10.10.84:
name: bed
save_on_change: False
transition: 1000
transition: 500
model: strip1
10.10.10.85:
name: desk
save_on_change: False
transition: 1000
transition: 500
model: strip1