Use better templating for node status in master bedroom climate flow

This commit is contained in:
2025-03-26 15:12:01 -04:00
parent ad6a3db18c
commit e87275baee

View File

@ -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])