-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi, any chance that the indicator lights remain turned on after turning off ambient light? currently, the relay lights also turn off when ambient lights turn off (all LEDs around TX Ultimate)
also, if possible, allow setting of default color for indicator lights (seems to be useful as indicator for events or modes) without relying much on HomeAssistant script, this is my current script for such if anyone wants to do the same
repeat:
for_each: |-
{{
floor_areas('Indoor')
| map('area_entities') | sum(start=[])
| select('match', 'light')
| select('contains', 'relay')
| select('is_state', 'on')
| list
}}
sequence:
- action: light.turn_on
metadata: {}
data:
transition: 1
brightness_pct: "{{ states('input_number.indicator_light_br') | int }}"
rgb_color:
- "{{ states('input_number.indicator_light_r') | int }}"
- "{{ states('input_number.indicator_light_g') | int }}"
- "{{ states('input_number.indicator_light_b') | int }}"
target:
entity_id: "{{ repeat.item }}"Reactions are currently unavailable