Hi.
Ok I have been making some progress on this. What i am trying to work out is how to get the current room temperature from the. I can get this not using the Tado Client but as i am trying to use it i would like to keep it all together.
Any ideas? Picture of flow and JSON below.
[{"id":"4550de3bc12e6177","type":"tab","label":"Tado Downstairs","disabled":false,"info":"","env":[]},{"id":"d00b40d5a6a49e18","type":"group","z":"4550de3bc12e6177","name":"James Bedroom","style":{"stroke":"#ff0000","label":true},"nodes":["8823252d7482faf7","cbeed50f693067f7","0c48210ca8e6a03c","f0d90c12acfa7c2f","9680f56fdc410443","376437fc62d84e61","9d7b3ddffb498f03","b76a3817213da929","571eaf3b3d053386","43a56a3baad6b0ca","f88dd3a6ca5b9e25","fb525dd5933d035e","3f29de32434f3953","834d96483a3a29f3","2578aa9d64b9d9e2","78b75a0bfa3adc88","07c34f3e872ce71b","1da2d86b64d3e4e2","b200bf81563823cc"],"x":34,"y":19,"w":1392,"h":622},{"id":"8823252d7482faf7","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"isAnyoneAtHome","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"","x":630,"y":80,"wires":[["cbeed50f693067f7"]]},{"id":"cbeed50f693067f7","type":"switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"","property":"payload","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":true,"outputs":2,"x":810,"y":80,"wires":[["f0d90c12acfa7c2f"],["9d7b3ddffb498f03"]]},{"id":"0c48210ca8e6a03c","type":"inject","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":430,"y":80,"wires":[["8823252d7482faf7"]]},{"id":"f0d90c12acfa7c2f","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom OFF","openWindowMode":true,"power":"off","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"18","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":1300,"y":60,"wires":[[]]},{"id":"9680f56fdc410443","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Open Window / Door","info":"","x":160,"y":160,"wires":[]},{"id":"376437fc62d84e61","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Craig - Lizzie - Home or Away","info":"","x":180,"y":80,"wires":[]},{"id":"9d7b3ddffb498f03","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Open Window Detection","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"binary_sensor.bedroom_tuya_window_sensor_contact","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"2","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":450,"y":180,"wires":[["f0d90c12acfa7c2f"],["571eaf3b3d053386"]]},{"id":"b76a3817213da929","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Heating Boost","info":"","x":130,"y":280,"wires":[]},{"id":"571eaf3b3d053386","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Input Boolean - Heating - Boost ON","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_boolean.tado_james_bedroom_heating_boost_on_off","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":490,"y":280,"wires":[["fb525dd5933d035e"],["b200bf81563823cc"]]},{"id":"43a56a3baad6b0ca","type":"trigger","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"60 Minute Timer","op1":"","op2":"off","op1type":"nul","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"hr","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":1000,"y":240,"wires":[["f0d90c12acfa7c2f","f88dd3a6ca5b9e25"]]},{"id":"f88dd3a6ca5b9e25","type":"api-call-service","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Input Boolean - Heating - Boost OFF","server":"813b6ee55c29f7d9","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.tado_james_bedroom_heating_boost_on_off"],"data":"","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1250,"y":240,"wires":[[]]},{"id":"fb525dd5933d035e","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom ON - 25C","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"25","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":780,"y":240,"wires":[["43a56a3baad6b0ca"]]},{"id":"3f29de32434f3953","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Daily Times","info":"","x":130,"y":540,"wires":[]},{"id":"834d96483a3a29f3","type":"within-time-switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Monday > Sunday - 5AM > 8AM","nameInt":"","positionConfig":"59b4ca7f1c4fe5f2","startTime":"05:00","startTimeType":"entered","startOffset":0,"startOffsetType":"none","startOffsetMultiplier":60000,"endTime":"08:00","endTimeType":"entered","endOffset":0,"endOffsetType":"none","endOffsetMultiplier":60000,"timeRestrictions":0,"timeRestrictionsType":"none","timeDays":"*","timeOnlyOddDays":false,"timeOnlyEvenDays":false,"timeOnlyOddWeeks":false,"timeOnlyEvenWeeks":false,"timeMonths":"*","timedatestart":"","timedateend":"","propertyStart":"","propertyStartType":"none","propertyStartCompare":"true","propertyStartThreshold":"","propertyStartThresholdType":"num","startTimeAlt":"","startTimeAltType":"entered","startOffsetAlt":0,"startOffsetAltType":"none","startOffsetAltMultiplier":60000,"propertyEnd":"","propertyEndType":"none","propertyEndCompare":"true","propertyEndThreshold":"","propertyEndThresholdType":"num","endTimeAlt":"","endTimeAltType":"entered","endOffsetAlt":0,"endOffsetAltType":"none","endOffsetAltMultiplier":60000,"withinTimeValue":"true","withinTimeValueType":"msgInput","outOfTimeValue":"false","outOfTimeValueType":"msgInput","tsCompare":"0","x":470,"y":540,"wires":[["78b75a0bfa3adc88"],["2578aa9d64b9d9e2"]]},{"id":"2578aa9d64b9d9e2","type":"within-time-switch","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Monday > Sundaty - 5PM > 10PM","nameInt":"","positionConfig":"59b4ca7f1c4fe5f2","startTime":"17:00","startTimeType":"entered","startOffset":0,"startOffsetType":"none","startOffsetMultiplier":60000,"endTime":"22:00","endTimeType":"entered","endOffset":0,"endOffsetType":"none","endOffsetMultiplier":60000,"timeRestrictions":0,"timeRestrictionsType":"none","timeDays":"*","timeOnlyOddDays":false,"timeOnlyEvenDays":false,"timeOnlyOddWeeks":false,"timeOnlyEvenWeeks":false,"timeMonths":"*","timedatestart":"","timedateend":"","propertyStart":"","propertyStartType":"none","propertyStartCompare":"true","propertyStartThreshold":"","propertyStartThresholdType":"num","startTimeAlt":"","startTimeAltType":"entered","startOffsetAlt":0,"startOffsetAltType":"none","startOffsetAltMultiplier":60000,"propertyEnd":"","propertyEndType":"none","propertyEndCompare":"true","propertyEndThreshold":"","propertyEndThresholdType":"num","endTimeAlt":"","endTimeAltType":"entered","endOffsetAlt":0,"endOffsetAltType":"none","endOffsetAltMultiplier":60000,"withinTimeValue":"true","withinTimeValueType":"msgInput","outOfTimeValue":"false","outOfTimeValueType":"msgInput","tsCompare":"0","x":480,"y":600,"wires":[["78b75a0bfa3adc88"],["f0d90c12acfa7c2f"]]},{"id":"78b75a0bfa3adc88","type":"tado","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","configName":"5d86a70.fc3e658","apiCall":"setZoneOverlay","homeId":"406632","acMode":"AUTO","childlock":false,"deviceId":"","fanSpeed":"AUTO","geoTracking":true,"name":"James Bedroom ON - 21C","openWindowMode":true,"power":"on","presence":"HOME","reading":0,"readingDate":"","readingId":"","reportDate":"","startDate":"","endDate":"","tariffId":"","tariffInCents":0,"temperature":"21","temperatureOffset":0,"terminationTimeout":900,"terminationType":"manual","timetableId":"","unit":"m3","windowDetection":true,"windowDetectionTimeout":900,"zoneId":"6","x":860,"y":560,"wires":[[]]},{"id":"07c34f3e872ce71b","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temprature Source <= 19.5","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"19.5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.james_bedroom_temperature_source_current_temperature","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":480,"y":440,"wires":[["834d96483a3a29f3"],[]]},{"id":"1da2d86b64d3e4e2","type":"comment","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temp","info":"","x":130,"y":400,"wires":[]},{"id":"b200bf81563823cc","type":"api-current-state","z":"4550de3bc12e6177","g":"d00b40d5a6a49e18","name":"Room Temprature Source > 21","server":"813b6ee55c29f7d9","version":3,"outputs":2,"halt_if":"21","halt_if_type":"num","halt_if_compare":"gt","entity_id":"sensor.james_bedroom_temperature_source_current_temperature","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":470,"y":380,"wires":[["f0d90c12acfa7c2f"],["07c34f3e872ce71b"]]},{"id":"5d86a70.fc3e658","type":"tado-config","name":"Tado"},{"id":"813b6ee55c29f7d9","type":"server","name":"McHome Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":": ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"default","statusTimeFormat":"h:m","enableGlobalContextStore":false},{"id":"59b4ca7f1c4fe5f2","type":"position-config","name":"McHome Location","isValide":"true","angleType":"deg","timeZoneOffset":"99","timeZoneDST":"0","stateTimeFormat":"3","stateDateFormat":"12","contextStore":""}]