mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Update light temperature automations
This commit is contained in:
@@ -1,37 +1,36 @@
|
||||
# automation:
|
||||
# - alias: Lighting · Temperature · Adjust based on time
|
||||
# trigger:
|
||||
# platform: sun
|
||||
# event: sunset
|
||||
# action:
|
||||
# - service: light.turn_on
|
||||
# data_template:
|
||||
# entity_id:
|
||||
# - light.master_bedroom_main
|
||||
# - light.living_room_main
|
||||
# color_temp: "{{ 400 if is_state('sun.sun', 'above_horizon') else 500 }}"
|
||||
# - service: logbook.log
|
||||
# data_template:
|
||||
# name: "💡 Lighting Module · "
|
||||
# message: >-
|
||||
# Adjusting temperature - sun changed from {{ trigger.from_state.state }} to {{ trigger.to_state.state }}
|
||||
# domain: light
|
||||
automation:
|
||||
- alias: Lighting · Temperature · Adjust on start
|
||||
use_blueprint:
|
||||
path: light_on_set_temperature.yaml
|
||||
input:
|
||||
light:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
|
||||
# switch:
|
||||
# - platform: flux
|
||||
# disable_brightness_adjust: true
|
||||
# lights:
|
||||
# - light.living_room_main
|
||||
# - light.master_bedroom_main
|
||||
# - light.pc
|
||||
- alias: Lighting · Temperature · Sunset
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
temp: 400
|
||||
|
||||
# circadian_lighting:
|
||||
|
||||
# switch:
|
||||
# - platform: circadian_lighting
|
||||
# name: Circadian lights
|
||||
# disable_brightness_adjust: true
|
||||
# lights_ct:
|
||||
# - light.master_bedroom_main
|
||||
# - light.pc
|
||||
# - light.living_room_main
|
||||
- alias: Lighting ·Temperature · Night
|
||||
use_blueprint:
|
||||
path: light_sun_set_temperature.yaml
|
||||
input:
|
||||
light:
|
||||
- light.living_room_main
|
||||
- light.pc
|
||||
- light.master_bedroom_main
|
||||
- light.kitchen_main
|
||||
- light.kitchen_secondary
|
||||
temp: 500
|
||||
after_offset: "+03:00:00"
|
||||
|
||||
Reference in New Issue
Block a user