I want to set the air conditioning temperature based on my CV temperature, but only when my input_boolean is true/on. I assume I can do this with a Current State node.
So far I have a setup, but no matter the state of my input_boolean, it will always be false.
Any idea what I am doing wrong?
[
{
"id": "cv_state",
"type": "server-state-changed",
"z": "tab_zonne_airco",
"name": "CV status change",
"server": "62b7e1da.0d003",
"version": 6,
"outputs": 1,
"exposeAsEntityConfig": "",
"entities": {
"entity": [
"climate.liv_nest"
],
"substring": [],
"regex": []
},
"outputInitially": false,
"stateType": "str",
"ifState": "",
"ifStateType": "str",
"outputOnlyOnStateChange": false,
"for": "",
"forType": "num",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": false,
"ignorePrevStateUnavailable": false,
"ignoreCurrentStateUnknown": false,
"ignoreCurrentStateUnavailable": false,
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
}
],
"x": 140,
"y": 240,
"wires": [
[
"fbc9a4d0d0634de8",
"440a566605acc42b",
"check_airco_auto"
]
]
},
{
"id": "7a515a24dde4d4f0",
"type": "api-call-service",
"z": "tab_zonne_airco",
"name": "",
"server": "62b7e1da.0d003",
"version": 7,
"debugenabled": false,
"action": "climate.set_temperature",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"climate.daikin"
],
"labelId": [],
"data": "{\t \"temperature\": $number(payload.new_state.attributes.temperature) + 2\t}\t",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": true,
"domain": "climate",
"service": "set_temperature",
"x": 770,
"y": 240,
"wires": [
[]
]
},
{
"id": "check_airco_auto",
"type": "api-current-state",
"z": "tab_zonne_airco",
"name": "Check Clim_Airco_Mode_Auto",
"server": "62b7e1da.0d003",
"version": 3,
"outputs": 2,
"halt_if": "on",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "input_boolean.clim_airco_mode_auto",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [],
"for": "0",
"forType": "num",
"forUnits": "seconds",
"state_location": "Clim_Airco_Mode_Auto",
"override_payload": "none",
"x": 450,
"y": 240,
"wires": [
[
"e22e8edf7219ce6c",
"7a515a24dde4d4f0"
],
[
"eb6f4d628f912237"
]
]
},
{
"id": "62b7e1da.0d003",
"type": "server",
"name": "Home Assistant Eigen",
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "",
"connectionDelay": false,
"cacheJson": false,
"heartbeat": false,
"heartbeatInterval": "",
"statusSeparator": "",
"enableGlobalContextStore": false
},
{
"id": "fe10e7df266b4291",
"type": "global-config",
"env": [],
"modules": {
"node-red-contrib-home-assistant-websocket": "0.80.3"
}
}
]

