add other config files

This commit is contained in:
2024-11-27 09:36:45 +01:00
parent 9d4fa9c01b
commit 1228b9e8f8
13 changed files with 470 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# https://www.wouterbulten.nl/blog/tech/ikea-tradfri-temp-and-brightness-with-home-assistant/
turn_on_ikea_light:
sequence:
# Check whether the light is off (optional)
- condition: template
value_template: "{{ is_state(entity, 'off') }}"
- delay: '00:00:01'
# Set the brightness of the lights.
- service: light.turn_on
data_template:
entity_id: "{{ entity }}"
brightness_pct: "{{ brightness_pct }}"
transition: 1
- delay: '00:00:01'
# Set the color temperature.
- service: light.turn_on
data_template:
entity_id: "{{ entity }}"
color_temp: "{{ color_temp }}"
transition: 5