Starting to work on post-alert restoration
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
const states = global.get('homeassistant.homeAssistant.states')
|
||||
// Set some constants for all of the lights
|
||||
|
||||
// Half and half for living room LED strip
|
||||
@ -45,11 +44,6 @@ const adaptiveBasement = [
|
||||
"switch.adaptive_lighting_basement_studio"
|
||||
]
|
||||
|
||||
// Room scene options
|
||||
const scenesLivingRoom = states["input_select.living_room_scenes"].attributes.options
|
||||
const scenesBasement = states["input_select.basement_studio_scenes"].attributes.options
|
||||
const scenesTinaDesk = states["input_select.tina_desk_scenes"].attributes.options
|
||||
|
||||
// Write flow variables
|
||||
flow.set("halfLivingRoom1", halfLivingRoom1, "diskCon")
|
||||
flow.set("halfLivingRoom2", halfLivingRoom2, "diskCon")
|
||||
@ -79,7 +73,3 @@ flow.set("basementFull", basementFull, "diskCon")
|
||||
|
||||
flow.set("adaptiveFirstFloor", adaptiveFirstFloor, "diskCon")
|
||||
flow.set("adaptiveBasement", adaptiveBasement, "diskCon")
|
||||
|
||||
flow.set("scenesLivingRoom", scenesLivingRoom, "diskCon")
|
||||
flow.set("scenesBasement", scenesBasement, "diskCon")
|
||||
flow.set("scenesTinaDesk", scenesTinaDesk, "diskCon")
|
||||
|
Reference in New Issue
Block a user