Improve templating in master bedroom climate flows

This commit is contained in:
2025-03-23 04:30:10 -04:00
parent 013b482f18
commit 10be0213dc
6 changed files with 26 additions and 26 deletions

View File

@ -10,11 +10,11 @@ if (ac === 'on') {
if (temp >= threshold) {
if (sleeping === 'on') {
msg.set = bedTemp
node.status({fill:"green",shape:"dot",text:"Shower Mode On: " + bedTemp})
node.status({fill:"green",shape:"dot",text:`Shower Mode On: ${bedTemp}`})
return msg
} else {
msg.set = nightTemp
node.status({fill:"green",shape:"dot",text:"Shower Mode On: " + nightTemp})
node.status({fill:"green",shape:"dot",text:`Shower Mode On: ${nightTemp}`})
return msg
}
} else {