Use better templating for node status in master bedroom climate flow
This commit is contained in:
@ -434,7 +434,7 @@ if (type === 'auto' && allowed === 'on' && meltdown === 'off' && vacation === 'o
|
|||||||
node.log("Master Bedroom Climate: Sleep/Day")
|
node.log("Master Bedroom Climate: Sleep/Day")
|
||||||
if (ac === 'on') {
|
if (ac === 'on') {
|
||||||
node.send([[sendDisplay, sendHvac, sendTemp, sendEco, sendAcFan], null, null, null, null])
|
node.send([[sendDisplay, sendHvac, sendTemp, sendEco, sendAcFan], null, null, null, null])
|
||||||
node.log("Master Bedroom Climate: Sleep/" + convertToTitleCase(time) + "/AC")
|
node.log(`Master Bedroom Climate: Sleep/${convertToTitleCase(time)}/AC`)
|
||||||
}
|
}
|
||||||
if (time === 'day' && isWakeup === false) {
|
if (time === 'day' && isWakeup === false) {
|
||||||
node.send([null, null, null, null, sendBriefing])
|
node.send([null, null, null, null, sendBriefing])
|
||||||
|
Reference in New Issue
Block a user