This commit is contained in:
darthsandmann
2022-08-09 11:21:13 +02:00
parent 1f3c4e8b6e
commit e46c7eadab
18 changed files with 65 additions and 94 deletions

View File

@ -1,16 +0,0 @@
## -------------------------------------------------------------------------------------------------##
## Circadian Lighting / Flux
## -------------------------------------------------------------------------------------------------##
circadian_lighting:
min_colortemp: 2700
max_colortemp: 6500
interval: 450
transition: 8
switch:
- platform: circadian_lighting
lights_ct:
- light.stripe
- light.direct
max_brightness: 80

View File

@ -3,6 +3,9 @@
## https://github.com/pnbruckner/homeassistant-config/blob/master/python_scripts/light_store.py
## -------------------------------------------------------------------------------------------------##
script:
#----------------------------------------------------------------------------------#
# All Lights
#----------------------------------------------------------------------------------#
light_store_save:
sequence:
- service: python_script.light_store
@ -26,7 +29,9 @@ script:
store_name: flash_store
operation: restore
#----------------------------------------------------------------------------------#
# Ceiling only
#----------------------------------------------------------------------------------#
light_ceiling_save:
sequence:
- service: python_script.light_store
@ -41,6 +46,9 @@ script:
store_name: ceiling_store
operation: restore
#----------------------------------------------------------------------------------#
# Ceiling Bed only
#----------------------------------------------------------------------------------#
light_ceiling_bed_save:
sequence:
- service: python_script.light_store
@ -55,6 +63,9 @@ script:
store_name: ceiling_store
operation: restore
#----------------------------------------------------------------------------------#
# Indirect only
#----------------------------------------------------------------------------------#
light_indirect_save:
sequence:
- service: python_script.light_store

View File

@ -3,6 +3,7 @@ input_boolean:
name: Lights needed
initial: false
automation:
- alias: lights_needed
mode: single
@ -11,6 +12,7 @@ automation:
minutes: "10"
action:
- if:
# Resets at midnight -> OR instead of AND
- condition: or
conditions:
- condition: sun

View File

@ -1,8 +1,3 @@
## -------------------------------------------------------------------------------------------------##
## Yeelight
## -------------------------------------------------------------------------------------------------##
## -------------------------------------------------------------------------------------------------##
## Discovery disable
## -------------------------------------------------------------------------------------------------##
@ -12,7 +7,7 @@ discovery:
## -------------------------------------------------------------------------------------------------##
## Lampen-Konfig
## Lights
## -------------------------------------------------------------------------------------------------##
yeelight:
devices:
@ -45,7 +40,7 @@ yeelight:
## -------------------------------------------------------------------------------------------------##
## Lampengruppen
## Light Groups
## -------------------------------------------------------------------------------------------------##
light:
- platform: group
@ -78,6 +73,4 @@ light:
name: all_lights
entities:
- light.all_direct
- light.all_indirect
- light.all_indirect