Rename all lights with shorter names. Add Ambient light in LR

This commit is contained in:
2020-05-09 03:31:56 +03:00
parent 42d285579e
commit 6b5d613de6
31 changed files with 513 additions and 305 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ automation:
state: "light"
action:
- service: light.toggle
entity_id: light.living_room_all_lights
entity_id: light.living_room
- alias: Magic Cube · Lighting · Dim on rotate left
trigger:
@@ -72,7 +72,7 @@ automation:
state: "light"
action:
- service: light.turn_on
entity_id: light.living_room_all_lights
entity_id: light.living_room
data:
brightness_step_pct: -20
@@ -94,7 +94,7 @@ automation:
state: "light"
action:
- service: light.turn_on
entity_id: light.living_room_all_lights
entity_id: light.living_room
data:
brightness_step_pct: 20
+3 -3
View File
@@ -18,7 +18,7 @@ automation:
scene_data: 0
action:
- service: light.toggle
entity_id: light.living_room_all_lights
entity_id: light.living_room
- alias: Wallmote · Living room · 1 · Hold · Dim lights
trigger:
@@ -31,11 +31,11 @@ automation:
scene_data: 1
action:
- service: light.turn_on
entity_id: light.living_room_all_lights
entity_id: light.living_room
data_template:
brightness: >
{% if state_attr('light.living_room_main_lights', 'brightness') < 255 %}
{% if state_attr('light.living_room_main', 'brightness') < 255 %}
255
{% else %}
120