I have migrated a HA system (2022.3.7) to talk to my underfloor heating control thermostat using the new tuya integration.
Service calls turn it on and off fine but the climate entity state and attributes do not get updated and as a result the lovelace climate card shows the wrong info.
I have another HA system with the old integration which shows the climate state and attributes correctly.
Any suggestions?
Debug log below…
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.3.7",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.9.9",
"docker": true,
"arch": "aarch64",
"timezone": "Australia/Sydney",
"os_name": "Linux",
"os_version": "5.10.92-v8",
"supervisor": "2022.03.5",
"host_os": "Home Assistant OS 7.4",
"docker_version": "20.10.9",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"ical": {
"version": "1.3",
"requirements": [
"icalendar==4.0.7"
]
},
"sonoff": {
"version": "v2.4.6",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"rental_control": {
"version": "v0.5.7",
"requirements": [
"icalendar==4.0.7"
]
},
"iphonedetect": {
"version": "1.4.0",
"requirements": []
},
"hacs": {
"version": "1.24.0",
"requirements": [
"aiogithubapi>=21.11.0"
]
},
"samsungtv_smart": {
"version": "0.6.2",
"requirements": [
"websocket-client>=0.58.0",
"wakeonlan>=2.0.0",
"aiofiles>=0.8.0"
]
},
"powercalc": {
"version": "v0.19.3",
"requirements": [
"numpy>=1.21.1"
]
},
"bureau_of_meteorology": {
"version": "0.10.3",
"requirements": []
},
"favicon": {
"version": "10.4",
"requirements": []
},
"willyweather": {
"version": "1.5.3",
"requirements": []
},
"auto_backup": {
"version": "0.10.1",
"requirements": []
},
"pijuice": {
"version": "1.2.0",
"requirements": [
"smbus2==0.4.1"
]
}
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"documentation": "https://www.home-assistant.io/integrations/tuya",
"requirements": [
"tuya-iot-py-sdk==0.6.6"
],
"dependencies": [
"ffmpeg"
],
"codeowners": [
"@Tuya",
"@zlinoliver",
"@METISU",
"@frenck"
],
"config_flow": true,
"iot_class": "cloud_push",
"dhcp": [
{
"macaddress": "105A17*"
},
{
"macaddress": "10D561*"
},
{
"macaddress": "1869D8*"
},
{
"macaddress": "381F8D*"
},
{
"macaddress": "508A06*"
},
{
"macaddress": "68572D*"
},
{
"macaddress": "708976*"
},
{
"macaddress": "7CF666*"
},
{
"macaddress": "84E342*"
},
{
"macaddress": "D4A651*"
},
{
"macaddress": "D81F12*"
}
],
"loggers": [
"tuya_iot"
],
"is_built_in": true
},
"data": {
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "61",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "WTS ensuite",
"model": "",
"category": "wk",
"product_id": "IAYz2WK1th0cMLmL",
"product_name": "thermostat",
"online": true,
"sub": false,
"time_zone": "+00:00",
"active_time": "2020-03-10T09:33:21+00:00",
"create_time": "2020-03-07T14:19:51+00:00",
"update_time": "2021-12-21T01:55:36+00:00",
"function": {
"switch": {
"type": "Boolean",
"value": {}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 10,
"max": 70,
"scale": 1,
"step": 5
}
},
"eco": {
"type": "Boolean",
"value": {}
},
"upper_temp": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 0,
"max": 100,
"scale": 0,
"step": 5
}
}
},
"status_range": {
"eco": {
"type": "Boolean",
"value": {}
},
"temp_set": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 10,
"max": 70,
"scale": 1,
"step": 5
}
},
"switch": {
"type": "Boolean",
"value": {}
},
"child_lock": {
"type": "Boolean",
"value": {}
},
"upper_temp": {
"type": "Integer",
"value": {
"unit": "\u2103",
"min": 0,
"max": 100,
"scale": 0,
"step": 5
}
}
},
"status": {
"switch": true,
"temp_set": 48,
"upper_temp": 39,
"eco": false,
"child_lock": false
},
"home_assistant": {
"name": "WTS ensuite",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "climate.wts_ensuite",
"state": "heat_cool",
"attributes": {
"hvac_modes": [
"off",
"heat_cool"
],
"min_temp": 5.0,
"max_temp": 35.0,
"target_temp_step": 0.5,
"current_temperature": 19.5,
"temperature": 24.0,
"friendly_name": "WTS ensuite",
"supported_features": 1
},
"last_changed": "2022-03-30T07:19:35.197454+00:00",
"last_updated": "2022-03-30T07:19:35.197454+00:00"
}
}
]
}
}
}