diff options
author | makefu <github@syntax-fehler.de> | 2022-09-23 23:41:30 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-09-23 23:41:30 +0200 |
commit | 3e8f855f60dfa5bf56ab3a1d1a54e0accccbd618 (patch) | |
tree | 85674a93388edfb7a0646b46aafc18d64d7aa0c6 /makefu/2configs/home/ham/automation/flurlicht.nix | |
parent | 2dfde5dc6d37fb5bab8a1b658cfe7e5b21f5a2f4 (diff) |
ma ham: update
Diffstat (limited to 'makefu/2configs/home/ham/automation/flurlicht.nix')
-rw-r--r-- | makefu/2configs/home/ham/automation/flurlicht.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/makefu/2configs/home/ham/automation/flurlicht.nix b/makefu/2configs/home/ham/automation/flurlicht.nix index aa62ab9e4..bb4877100 100644 --- a/makefu/2configs/home/ham/automation/flurlicht.nix +++ b/makefu/2configs/home/ham/automation/flurlicht.nix @@ -32,12 +32,16 @@ in [ { choose = [ (lightcond "Badezimmer Fenster Auf" - { condition = "state"; entity_id = "binary_sensor.badezimmer_fenster_contact"; state = "on"; } - [ 64 207 255 ] 255 # helblau + [ { condition = "state"; entity_id = "binary_sensor.badezimmer_fenster_contact"; state = "on"; } + { condition = "state"; entity_id = "input_boolean.ist_sommer"; state = "off"; } + + ] + [ 64 207 255 ] 128 # hellblau ) (lightcond "Duschenster auf" - { condition = "state"; entity_id = "binary_sensor.dusche_fenster_contact"; state = "on"; } - [ 64 207 255 ] 255 # helblau + [ { condition = "state"; entity_id = "binary_sensor.dusche_fenster_contact"; state = "on"; } + { condition = "state"; entity_id = "input_boolean.ist_sommer"; state = "off"; } ] + [ 64 207 255 ] 128 # hellblau ) (lightcond "Nachtlicht" { condition = "state"; entity_id = "sun.sun"; state = "below_horizon"; } |