Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermostat with 1 device but no entity linked #197

Closed
flayy73 opened this issue Jul 23, 2021 · 1 comment · Fixed by home-assistant/core#66664
Closed

Thermostat with 1 device but no entity linked #197

flayy73 opened this issue Jul 23, 2021 · 1 comment · Fixed by home-assistant/core#66664
Labels
bug Something isn't working

Comments

@flayy73
Copy link

flayy73 commented Jul 23, 2021

Describe the bug
Thermostat discovered as device but no entity linked

Expected behavior
If I connect the thermostat with the Tuya V1 I have 1 device and 1 entity while with the Tuya V2 I only have 1 device.

Screenshots
Immagine 2021-07-23 175404

Home Assistant Version

  • Home Assistant 2021.7.3

**Device info
2021-07-23 18:00:15 ERROR (Thread-4) [tuya iot] error while get mqtt config
2021-07-23 18:00:15 DEBUG (SyncWorker_4) [tuya iot] Response: {
"result": [
{
"active_time": 1627054271,
"biz_type": 18,
"category": "wk",
"create_time": 1622049142,
"icon": "smart/icon/15264583415nnlzwfs1qd2wqz6i937op3nmi_0.png",
"id": "878608518caab5e502f5",
"ip": "93.57.247.25",
"lat": "44.29031100581927",
"local_key": "8fead701da5caa95",
"lon": "11.86798677812269",
"model": "",
"name": "thermostat",
"online": true,
"owner_id": "31398235",
"product_id": "IAYz2WK1th0cMLmL",
"product_name": "thermostat",
"status": [
{
"code": "switch",
"value": true
},
{
"code": "temp_set",
"value": 38
},
{
"code": "upper_temp",
"value": 51
},
{
"code": "eco",
"value": false
},
{
"code": "child_lock",
"value": false
}
],
"sub": false,
"time_zone": "+01:00",
"uid": "eu1622048325139MI5IB",
"update_time": 1627054277,
"uuid": "878608518caab5e502f5"
}
],
"success": true,
"t": 1627056015457

**Device specifications
2021-07-23 18:00:15 DEBUG (SyncWorker_4) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/878608518caab5e502f5/specifications, params = None, body = None, headers = {'client_id': 'xxxxxxxxxx', 'sign': 'xxxxxxxxx', 'sign_method': 'HMAC-SHA256', 'access_token': 'xxxxxxxxxxx', 't': 'xxxxxxxxxxx', 'lang': 'en'}
2021-07-23 18:00:15 DEBUG (SyncWorker_4) [tuya iot] Response: {
"result": {
"category": "wk",
"functions": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "child_lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_set",
"type": "Integer",
"values": "{"unit":"℃","min":10,"max":70,"scale":1,"step":5}"
},
{
"code": "eco",
"type": "Boolean",
"values": "{}"
},
{
"code": "upper_temp",
"type": "Integer",
"values": "{"unit":"℃","min":0,"max":100,"scale":0,"step":5}"
}
],
"status": [
{
"code": "eco",
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_set",
"type": "Integer",
"values": "{"unit":"℃","min":10,"max":70,"scale":1,"step":5}"
},
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "child_lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "upper_temp",
"type": "Integer",
"values": "{"unit":"℃","min":0,"max":100,"scale":0,"step":5}"
}
]
},
"success": true,
"t": 1627056015521
}

@flayy73 flayy73 added the bug Something isn't working label Jul 23, 2021
@tannisroot
Copy link

Your access token and secret are displayed to everyone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants