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
@@ -10,7 +10,7 @@ automation:
state: 'day'
action:
- service: light.turn_on
entity_id: light.hallway_all_lights
entity_id: light.hallway
- alias: Lighting · Hallway · Day mode · Motion · Turn lights off
trigger:
@@ -25,7 +25,7 @@ automation:
state: 'day'
action:
- service: light.turn_off
entity_id: light.hallway_all_lights
entity_id: light.hallway
- alias: Lighting · Hallway · Night mode · Motion · Turn lights on
trigger:
@@ -24,7 +24,7 @@ automation:
action:
- service: light.turn_on
entity_id:
- light.tuya_kitchen_all_lights
- light.tuya_kitchen
- light.browser_kitchen
data:
brightness_pct: 100
@@ -42,7 +42,7 @@ automation:
state: "day"
action:
- service: light.turn_off
entity_id: light.tuya_kitchen_all_lights
entity_id: light.tuya_kitchen
- service: light.turn_on
entity_id: light.browser_kitchen
data:
@@ -3,12 +3,12 @@ script:
icon: "mdi:weather-night"
sequence:
- service: light.turn_on
entity_id: light.master_bedroom_main_lights
entity_id: light.master_bedroom_main
data:
rgb_color: [255, 0, 190]
brightness_pct: 40
- service: light.turn_on
entity_id: light.bedside_light
entity_id: light.bedside
data:
xy_color: [0.384, 0.159]
brightness_pct: 1
@@ -31,13 +31,13 @@ script:
sequence:
- service: light.turn_on
entity_id:
- light.master_bedroom_main_lights
- light.master_bedroom_main
- light.bed_led
data:
color_temp: 500
brightness_pct: 100
- service: light.turn_on
entity_id: light.bedside_light
entity_id: light.bedside
data:
color_temp: 500
brightness_pct: 20
@@ -56,9 +56,9 @@ automation:
entity_id: >-
{% if is_state('input_select.house_mode', 'day') %}
light.master_bedroom_main_lights
light.master_bedroom_main
{% elif is_state('input_select.house_mode', 'bed') %}
light.bedside_light, light.bed_led
light.bedside, light.bed_led
{% elif is_state('input_select.house_mode', 'night') %}
light.bed_led
{% endif %}