Add preferences support

This commit is contained in:
2021-11-21 11:05:04 +02:00
parent b606168f08
commit 823cf4a680
11 changed files with 112 additions and 9 deletions
@@ -30,15 +30,15 @@ automation:
sequence:
- service: light.toggle
entity_id: light.light_lohas_6
data:
data_template:
brightness_pct: 10
color_temp: 154
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
default:
- service: light.toggle
entity_id: light.light_lohas_6
data:
data_template:
brightness_pct: 100
color_temp: 154
color_temp: "{{ states('input_number.guest_bedroom_light_temp') }}"
double_click:
- service: light.toggle