You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integration is showing wrong value for temp_current and temp_set. These wrong values are reflected in the entity state. In the logs, temp_current_f and temp_set_f are showing the correct values but that is not showing in the entity state.
The "temp_unit_convert" is "c", which means the current temperature unit is "℃", so I think using temp_set and temp_current is correct.
Or you mean your device current temperature unit is "℉"?
In the logs you see "code": "temp_current", "value": 0" which is incorrect for ℃. "code": "temp_current_f", "value": 71 is showing the right value for ℉ but the entity is not using temp_current_f to show current temperature in ℉. instead, it is doing a calculation based on temp_current which is showing a value of 0 (or I think null) and it's saying the current temperature is 32°F [(0°C × 9/5) + 32 = 32°F].
The integration is showing wrong value for
temp_current
andtemp_set
. These wrong values are reflected in the entity state. In the logs,temp_current_f
andtemp_set_f
are showing the correct values but that is not showing in the entity state.HA: Home Assistant OS 6.2
Core: core-2021.8.6
"result": {
"access_token": "",
"expire_time": 7200,
"platform_url": "https://openapi.tuyaus.com",
"refresh_token": "",
"uid": ""
},
"success": true,
"t": 1628883774908
}
2021-08-13 12:42:56 DEBUG (MainThread) [tuya iot] start
2021-08-13 12:42:56 DEBUG (Thread-3) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '', 'link_id': '', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1628883776780
2021-08-13 12:42:56 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1619309316078s0tjn/devices, params = None, body = None, t = 1628883776781
2021-08-13 12:42:56 DEBUG (SyncWorker_6) [tuya iot] Response: {
"result": [
{
"active_time": 1628880367,
"biz_type": 0,
"category": "kt",
"create_time": 1628663557,
"icon": "smart/icon/ay1566508499521KjKCN/431513b3b6e4c1fb681911c28e63dc0d.png",
"id": "ebd25edb1f8a51473fo0sh",
"ip": "",
"lat": "",
"local_key": "",
"lon": "",
"model": "",
"name": "Windmill AC",
"online": true,
"owner_id": "39871938",
"product_id": "u8iolvwcrnginqzr",
"product_name": "Windmill AC",
"status": [
{
"code": "switch",
"value": true
},
{
"code": "temp_set",
"value": 16
},
{
"code": "temp_current",
"value": 0
},
{
"code": "mode",
"value": "wind"
},
{
"code": "fan_speed_enum",
"value": "low"
},
{
"code": "temp_unit_convert",
"value": "c"
},
{
"code": "temp_current_f",
"value": 71
},
{
"code": "temp_set_f",
"value": 65
}
],
"sub": false,
"time_zone": "-07:00",
"uid": "",
"update_time": 1628882292,
"uuid": "1f1b538735b113b4"
}
],
"success": true,
"t": 1628883776881
The text was updated successfully, but these errors were encountered: