Cleanup
This commit is contained in:
@ -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
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
Reference in New Issue
Block a user