Add comments, prepare for resets and multiple floors activation
This commit is contained in:
20
lightfx/reset.js
Normal file
20
lightfx/reset.js
Normal file
@ -0,0 +1,20 @@
|
||||
// Set constants
|
||||
const states = global.get('homeassistant.homeAssistant.states')
|
||||
const currentSceneBasement = flow.get('currentSceneBasement')
|
||||
const currentSceneLivingRoom = flow.get('currentSceneLivingRoom')
|
||||
const currentSceneTinaDesk = flow.get('currentSceneTinaDesk')
|
||||
const adaptLivingRoom = flow.get('adaptLivingRoom')
|
||||
const adaptBasement = flow.get('adaptBasement')
|
||||
const nightLivingRoom = flow.get('nightLivingRoom')
|
||||
const nightBasement = flow.get('nightBasement')
|
||||
const stateTinaDesk = flow.get('stateTinaDesk')
|
||||
const stateLivingRoom = flow.get('stateLivingRoom')
|
||||
const stateDiningRoom = flow.get('stateDiningRoom')
|
||||
const stateBasement = flow.get('stateBasement')
|
||||
const scenesLivingRoom = flow.get('scenesLivingRoom', 'diskCon')
|
||||
const scenesBasement = flow.get('scenesBasement', 'diskCon')
|
||||
const scenesTinaDesk = flow.get('scenesTinaDesk', 'diskCon')
|
||||
|
||||
// Reset code goes here
|
||||
|
||||
node.status({fill:"green",shape:"dot",text:"Success"})
|
Reference in New Issue
Block a user