Improve templating in basement climate flows
This commit is contained in:
@ -22,7 +22,7 @@ if (todaysHighTemp < 55) {
|
||||
|
||||
if (allowed === 'on') {
|
||||
if (power === 'on') {
|
||||
node.status({fill:'green',shape:'dot',text:'Heater Needed: ' + reason})
|
||||
node.status({fill:'green',shape:'dot',text:`Heater Needed: ${reason}`})
|
||||
node.send(msg,null)
|
||||
} else {
|
||||
node.status({fill:'red',shape:'ring',text:'Heater Not Needed'})
|
||||
|
Reference in New Issue
Block a user