diff --git a/climate/emma-bedroom/notifications.js b/climate/emma-bedroom/notifications.js index 497d089..4166046 100644 --- a/climate/emma-bedroom/notifications.js +++ b/climate/emma-bedroom/notifications.js @@ -11,7 +11,7 @@ let fanOnlyMsg = { "topic": "Emma AC Mode: Fan Only" } -if (topic === 'emmabedroom-cooling') { +if (topic === 'emmabedroom-climate') { if (acMode === 'AC') { node.status({fill:"green",shape:"dot",text:"AC Cooling"}) return coolMsg diff --git a/climate/emma-bedroom/processing.js b/climate/emma-bedroom/processing.js index 55ba422..6d9d0da 100644 --- a/climate/emma-bedroom/processing.js +++ b/climate/emma-bedroom/processing.js @@ -322,7 +322,7 @@ if (type === 'auto' && allowed === 'on' && meltdown === 'off' && vacation === 'o node.status({ fill: "red", shape: "ring", text: "Blocked (sleep mode)" }) node.log("Emma Bedroom Climate: Blocked (sleep mode)") } else { - if (topic === 'emmabedroom-cooling' && ac === 'on') { + if (topic === 'emmabedroom-climate' && ac === 'on') { node.status({ fill: "green", shape: "dot", text: "Cooling Schedule" }) node.send([[sendDisplay, sendHvac, sendTemp, sendAcFan, sendEco], null, null]) node.log("Emma Bedroom Climate: Auto/Cooling")