Add Tuya snapshots for ywcgq category (#149948)

This commit is contained in:
epenet 2025-08-04 12:02:34 +02:00 committed by GitHub
parent cf14226b02
commit fe2bd8d09e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 143 additions and 0 deletions

View File

@ -256,6 +256,10 @@ DEVICE_MOCKS = {
Platform.BINARY_SENSOR,
Platform.SENSOR,
],
"ywcgq_wtzwyhkev3b4ubns": [
# https://community.home-assistant.io/t/something-is-wrong-with-tuya-tank-level-sensors-with-the-new-official-integration/689321
# not (yet) supported
],
"zndb_ze8faryrxr0glqnn": [
# https://github.com/home-assistant/core/issues/138372
Platform.SENSOR,

View File

@ -0,0 +1,139 @@
{
"endpoint": "https://apigw.tuyaeu.com",
"terminal_id": "REDACTED",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"id": "bf27a4********368f4w",
"name": "Nivel del tanque A",
"category": "ywcgq",
"product_id": "wtzwyhkev3b4ubns",
"product_name": "Tank A Level",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2024-01-05T10:22:24+00:00",
"create_time": "2024-01-05T10:22:24+00:00",
"update_time": "2024-01-05T10:22:24+00:00",
"function": {
"max_set": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"mini_set": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"installation_height": {
"type": "Integer",
"value": {
"unit": "m",
"min": 200,
"max": 2500,
"scale": 3,
"step": 1
}
},
"liquid_depth_max": {
"type": "Integer",
"value": {
"unit": "m",
"min": 100,
"max": 2400,
"scale": 3,
"step": 1
}
}
},
"status_range": {
"liquid_state": {
"type": "Enum",
"value": {
"range": ["normal", "lower_alarm", "upper_alarm"]
}
},
"liquid_depth": {
"type": "Integer",
"value": {
"unit": "m",
"min": 0,
"max": 10000,
"scale": 2,
"step": 1
}
},
"max_set": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"mini_set": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"installation_height": {
"type": "Integer",
"value": {
"unit": "m",
"min": 200,
"max": 2500,
"scale": 3,
"step": 1
}
},
"liquid_depth_max": {
"type": "Integer",
"value": {
"unit": "m",
"min": 100,
"max": 2400,
"scale": 3,
"step": 1
}
},
"liquid_level_percent": {
"type": "Integer",
"value": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
}
},
"status": {
"liquid_state": "normal",
"liquid_depth": 77,
"max_set": 100,
"mini_set": 10,
"installation_height": 980,
"liquid_depth_max": 140,
"liquid_level_percent": 97
},
"set_up": false,
"support_local": true
}