mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Rename all lights with shorter names. Add Ambient light in LR
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user