First Commit

This commit is contained in:
darthsandmann
2022-07-29 03:05:27 +02:00
commit a7af1c3b93
22 changed files with 1226 additions and 0 deletions

View File

@ -0,0 +1,16 @@
## -------------------------------------------------------------------------------------------------##
## 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

@ -0,0 +1,25 @@
scene:
- name: light_alloff
entities:
light.all_lights: false
- name: light_flux
entities:
light.all_direct: false
light.all_indirect: true
switch.circadian_lighting_circadian_lighting: on
- name: light_blue
entities:
switch.circadian_lighting_circadian_lighting: off
light.all_direct: false
light.all_indirect:
rgb_color: [0, 0, 255]
state: true
brightness: 20
- name: light_night
entities:
switch.circadian_lighting_circadian_lighting: off
light.all_direct: false
light.all_indirect:
rgb_color: [255, 139, 21]
state: true
brightness: 1

View File

@ -0,0 +1,28 @@
## -------------------------------------------------------------------------------------------------##
## Light_Store
## https://github.com/pnbruckner/homeassistant-config/blob/master/python_scripts/light_store.py
## -------------------------------------------------------------------------------------------------##
script:
light_store_save:
sequence:
- service: python_script.light_store
data:
store_name: flash_store
entity_id:
- light.bed
- light.closet
- light.desk
- light.direct
- light.tv
light_store_off:
sequence:
- service: script.light_store_save
- service: light.turn_off
entity_id: light.all_lights
light_store_restore:
sequence:
- service: python_script.light_store
data:
store_name: flash_store
operation: restore

View File

@ -0,0 +1,83 @@
## -------------------------------------------------------------------------------------------------##
## Yeelight
## -------------------------------------------------------------------------------------------------##
## -------------------------------------------------------------------------------------------------##
## Discovery disable
## -------------------------------------------------------------------------------------------------##
discovery:
ignore:
- yeelight
## -------------------------------------------------------------------------------------------------##
## Lampen-Konfig
## -------------------------------------------------------------------------------------------------##
yeelight:
devices:
10.10.10.82:
name: ceiling1
save_on_change: False
transition: 2500
10.10.10.83:
name: ceiling2
save_on_change: False
transition: 2500
10.10.10.80:
name: ceiling3
save_on_change: False
transition: 2500
10.10.10.81:
name: bed_ceiling
save_on_change: False
transition: 2500
10.10.10.84:
name: bed
save_on_change: False
transition: 2500
model: strip1
10.10.10.85:
name: desk
save_on_change: False
transition: 2500
model: strip1
## -------------------------------------------------------------------------------------------------##
## Lampengruppen
## -------------------------------------------------------------------------------------------------##
light:
- platform: group
name: ceiling
entities:
- light.ceiling1
- light.ceiling2
- light.ceiling3
- platform: group
name: direct
entities:
- light.bed_ceiling
- light.ceiling1
- light.ceiling2
- light.ceiling3
- platform: group
name: stripe
entities:
- light.bed
- light.desk
- platform: group
name: all_direct
entities:
- light.direct
- platform: group
name: all_indirect
entities:
- light.stripe
- platform: group
name: all_lights
entities:
- light.all_direct
- light.all_indirect