Skip to content

Commit b89b248

Browse files
authored
Add tuya snapshots for qxj category (home-assistant#148802)
1 parent cd94685 commit b89b248

File tree

4 files changed

+964
-0
lines changed

4 files changed

+964
-0
lines changed

tests/components/tuya/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@
7575
Platform.BINARY_SENSOR,
7676
Platform.SENSOR,
7777
],
78+
"qxj_temp_humidity_external_probe": [
79+
# https://github.com/home-assistant/core/issues/136472
80+
Platform.SENSOR,
81+
],
82+
"qxj_weather_station": [
83+
# https://github.com/orgs/home-assistant/discussions/318
84+
Platform.SENSOR,
85+
],
7886
"rqbj_gas_sensor": [
7987
# https://github.com/orgs/home-assistant/discussions/100
8088
Platform.BINARY_SENSOR,
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"endpoint": "https://apigw.tuyaeu.com",
3+
"terminal_id": "1708196692712PHOeqy",
4+
"mqtt_connected": true,
5+
"disabled_by": null,
6+
"disabled_polling": false,
7+
"id": "bff00f6abe0563b284t77p",
8+
"name": "Frysen",
9+
"category": "qxj",
10+
"product_id": "is2indt9nlth6esa",
11+
"product_name": "T & H Sensor with external probe",
12+
"online": true,
13+
"sub": false,
14+
"time_zone": "+01:00",
15+
"active_time": "2025-01-27T15:19:27+00:00",
16+
"create_time": "2025-01-27T15:19:27+00:00",
17+
"update_time": "2025-01-27T15:19:27+00:00",
18+
"function": {},
19+
"status_range": {
20+
"temp_current": {
21+
"type": "Integer",
22+
"value": {
23+
"unit": "\u2103",
24+
"min": -99,
25+
"max": 600,
26+
"scale": 1,
27+
"step": 1
28+
}
29+
},
30+
"humidity_value": {
31+
"type": "Integer",
32+
"value": {
33+
"unit": "%",
34+
"min": 0,
35+
"max": 100,
36+
"scale": 0,
37+
"step": 1
38+
}
39+
},
40+
"battery_state": {
41+
"type": "Enum",
42+
"value": {
43+
"range": ["low", "middle", "high"]
44+
}
45+
},
46+
"temp_current_external": {
47+
"type": "Integer",
48+
"value": {
49+
"unit": "\u2103",
50+
"min": -400,
51+
"max": 1200,
52+
"scale": 1,
53+
"step": 1
54+
}
55+
}
56+
},
57+
"status": {
58+
"temp_current": 222,
59+
"humidity_value": 38,
60+
"battery_state": "high",
61+
"temp_current_external": -130
62+
},
63+
"set_up": false,
64+
"support_local": true
65+
}

0 commit comments

Comments
 (0)