Skip to content

Commit 80cf7f4

Browse files
authored
Add Tuya ZTH11 temperature sensor 1wnh8bqp variants (#4216)
1 parent 04c6292 commit 80cf7f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/test_tuya_sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ async def test_handle_get_data(
113113
("_TZE204_cirvgep4", "TS0601", 100, 10, TUYA_TEMP01_HUM02_BAT03),
114114
("_TZE204_jygvp6fk", "TS0601", 100, 10, TUYA_TEMP01_HUM02_BAT03),
115115
("_TZE284_upagmta9", "TS0601", 100, 10, TUYA_TEMP01_HUM02_BAT03),
116+
("_TZE204_1wnh8bqp", "TS0601", 100, 10, TUYA_TEMP01_HUM02_BAT03),
117+
("_TZE284_1wnh8bqp", "TS0601", 100, 10, TUYA_TEMP01_HUM02_BAT03),
116118
],
117119
)
118120
async def test_handle_get_data_enum_batt(

zhaquirks/tuya/tuya_sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ class ServerCommandDefs(TuyaMCUCluster.ServerCommandDefs):
310310
.applies_to("_TZE284_utkemkbs", "TS0601")
311311
.applies_to("_TZE204_ksz749x8", "TS0601")
312312
.applies_to("_TZE284_upagmta9", "TS0601")
313+
.applies_to("_TZE204_1wnh8bqp", "TS0601")
314+
.applies_to("_TZE284_1wnh8bqp", "TS0601")
313315
.tuya_temperature(dp_id=1, scale=10)
314316
.tuya_humidity(dp_id=2)
315317
.tuya_dp(

0 commit comments

Comments
 (0)