Update for entity renaming due to E's heater
home_automation/Home-Assistant-Configs#256
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user