Parallel temperature automations

This commit is contained in:
2020-08-15 20:42:58 +03:00
parent 121476162a
commit b87171e950
@@ -11,6 +11,7 @@ script:
automation:
- alias: Lighting · Temperature · Adjust on start
mode: parallel
trigger:
platform: state
entity_id:
@@ -33,6 +34,7 @@ automation:
color_temp: "{{ 400 if is_state('sun.sun', 'above_horizon') else 500 }}"
- alias: Lighting · Temperature · Adjust based on time
mode: parallel
# TODO: this trigger is not good. Figure out something else.
trigger:
platform: sun