Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrey-yantsen/fbf856451e0b0b36c269d334a04d36a9 to your computer and use it in GitHub Desktop.
Save andrey-yantsen/fbf856451e0b0b36c269d334a04d36a9 to your computer and use it in GitHub Desktop.
Tuya HA diagnostics
{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2022.2.0b0",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.9.7",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/London",
"os_name": "Linux",
"os_version": "5.4.0-96-generic",
"run_as_root": true
},
"custom_components": {
"hacs": {
"version": "1.15.2",
"requirements": [
"aiofiles>=0.6.0",
"aiogithubapi>=21.8.1",
"awesomeversion>=21.2.2",
"backoff>=1.10.0",
"hacs_frontend==20210822172723",
"queueman==0.5"
]
}
},
"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*"
}
],
"is_built_in": true
},
"data": {
"endpoint": "https://openapi.tuyaeu.com",
"auth_type": 0,
"country_code": "44",
"app_type": "smartlife",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"name": "thermostat (bedroom)",
"model": "",
"category": "wk",
"product_id": "IAYz2WK1th0cMLmL",
"product_name": "thermostat",
"online": true,
"sub": false,
"time_zone": "+00:00",
"active_time": "2021-05-06T13:41:20+00:00",
"create_time": "2021-05-06T13:41:20+00:00",
"update_time": "2022-01-24T13:09:01+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": 38,
"upper_temp": 43,
"eco": false,
"child_lock": false
},
"home_assistant": {
"name": "thermostat (bedroom)",
"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.thermostat_bedroom",
"state": "heat_cool",
"attributes": {
"hvac_modes": [
"off",
"heat_cool"
],
"min_temp": 1.0,
"max_temp": 7.0,
"target_temp_step": 0.5,
"current_temperature": null,
"temperature": 3.8,
"friendly_name": "thermostat (bedroom)",
"supported_features": 1
},
"last_changed": "2022-01-26T22:18:47.957735+00:00",
"last_updated": "2022-01-26T22:18:47.957735+00:00"
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment