before cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from datetime import datetime
|
||||
from ir_helpers import *
|
||||
|
||||
from licht_garten import *
|
||||
|
||||
# --------------------------------- "Scenes" for actions ----------------------------------------------------
|
||||
|
||||
@@ -120,32 +120,7 @@ def wohnzimmer_scenes():
|
||||
is_on = lambda: hass.states.get("light.wohnzimmer_lichter").state == "on"
|
||||
return is_on, scenes
|
||||
|
||||
def garten_vorne():
|
||||
scenes = [
|
||||
scene_f("garten_eingang_normal"),
|
||||
scene_f("garten_eingang_hell"),
|
||||
scene_f("garten_eingang_farbig"),
|
||||
]
|
||||
is_on = lambda: hass.states.get("light.lichter_garten_eingang").state == "on"
|
||||
return is_on, scenes
|
||||
|
||||
def garten_sued():
|
||||
scenes = [
|
||||
scene_f("garten_sued_normal"),
|
||||
scene_f("garten_sued_hell"),
|
||||
scene_f("garten_sued_farbig"),
|
||||
]
|
||||
is_on = lambda: hass.states.get("light.garten_sud").state == "on"
|
||||
return is_on, scenes
|
||||
|
||||
def garten_alles():
|
||||
scenes = [
|
||||
scene_f("garten_alles_normal"),
|
||||
scene_f("garten_alles_hell"),
|
||||
scene_f("garten_alles_farbig"),
|
||||
]
|
||||
is_on = lambda: hass.states.get("light.garten_sud").state == "on"
|
||||
return is_on, scenes
|
||||
|
||||
# --------------------------------- HA App actions ---------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user