Skip to content

Commit 4d4ad90

Browse files
authored
Add Tuya climate tests for US unit_system (home-assistant#156989)
1 parent acc136a commit 4d4ad90

File tree

6 files changed

+571
-0
lines changed

6 files changed

+571
-0
lines changed
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"endpoint": "https://apigw.tuyaus.com",
3+
"mqtt_connected": true,
4+
"disabled_by": null,
5+
"disabled_polling": false,
6+
"name": "Mini-Split",
7+
"category": "kt",
8+
"product_id": "wxqdp6ecfkd78zzz",
9+
"product_name": "Air Conditioner",
10+
"online": true,
11+
"sub": false,
12+
"time_zone": "-07:00",
13+
"active_time": "2024-07-06T03:42:10+00:00",
14+
"create_time": "2024-07-06T03:42:10+00:00",
15+
"update_time": "2024-07-06T03:42:10+00:00",
16+
"function": {
17+
"switch": {
18+
"type": "Boolean",
19+
"value": {}
20+
},
21+
"temp_set": {
22+
"type": "Integer",
23+
"value": {
24+
"unit": "\u2103/F",
25+
"min": 160,
26+
"max": 900,
27+
"scale": 1,
28+
"step": 10
29+
}
30+
},
31+
"mode": {
32+
"type": "Enum",
33+
"value": {
34+
"range": ["cold", "hot", "wet", "wind", "auto"]
35+
}
36+
},
37+
"mode_eco": {
38+
"type": "Boolean",
39+
"value": {}
40+
},
41+
"heat": {
42+
"type": "Boolean",
43+
"value": {}
44+
},
45+
"light": {
46+
"type": "Boolean",
47+
"value": {}
48+
},
49+
"lock": {
50+
"type": "Boolean",
51+
"value": {}
52+
},
53+
"switch_horizontal": {
54+
"type": "Boolean",
55+
"value": {}
56+
},
57+
"sleep": {
58+
"type": "Boolean",
59+
"value": {}
60+
},
61+
"health": {
62+
"type": "Boolean",
63+
"value": {}
64+
}
65+
},
66+
"status_range": {
67+
"switch": {
68+
"type": "Boolean",
69+
"value": {}
70+
},
71+
"temp_set": {
72+
"type": "Integer",
73+
"value": {
74+
"unit": "\u2103/F",
75+
"min": 160,
76+
"max": 900,
77+
"scale": 1,
78+
"step": 10
79+
}
80+
},
81+
"temp_current": {
82+
"type": "Integer",
83+
"value": {
84+
"unit": "\u2103/F",
85+
"min": -300,
86+
"max": 1760,
87+
"scale": 1,
88+
"step": 10
89+
}
90+
},
91+
"mode": {
92+
"type": "Enum",
93+
"value": {
94+
"range": ["cold", "hot", "wet", "wind", "auto"]
95+
}
96+
},
97+
"mode_eco": {
98+
"type": "Boolean",
99+
"value": {}
100+
},
101+
"heat": {
102+
"type": "Boolean",
103+
"value": {}
104+
},
105+
"light": {
106+
"type": "Boolean",
107+
"value": {}
108+
},
109+
"lock": {
110+
"type": "Boolean",
111+
"value": {}
112+
},
113+
"power_consumption": {
114+
"type": "Integer",
115+
"value": {
116+
"unit": "kW\u00b7h",
117+
"min": 0,
118+
"max": 255,
119+
"scale": 0,
120+
"step": 1
121+
}
122+
},
123+
"switch_horizontal": {
124+
"type": "Boolean",
125+
"value": {}
126+
},
127+
"sleep": {
128+
"type": "Boolean",
129+
"value": {}
130+
},
131+
"health": {
132+
"type": "Boolean",
133+
"value": {}
134+
}
135+
},
136+
"status": {
137+
"switch": false,
138+
"temp_set": 660,
139+
"temp_current": 690,
140+
"mode": "cold",
141+
"mode_eco": false,
142+
"heat": false,
143+
"light": false,
144+
"lock": false,
145+
"power_consumption": 0,
146+
"switch_horizontal": false,
147+
"sleep": false,
148+
"health": false
149+
},
150+
"set_up": true,
151+
"support_local": true
152+
}

0 commit comments

Comments
 (0)