Skip to content

Commit 16cf752

Browse files
authored
Add Nedis ZBSC30WT sensor _TZE200_s1xgth2u variant (#3634)
1 parent 56001dd commit 16cf752

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/test_tuya_sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
("_TZE200_znbl8dj5", "TS0601", 100, 10),
2323
("_TZE200_qyflbnbj", "TS0601", 100, 10),
2424
("_TZE200_zppcgbdj", "TS0601", 100, 10),
25+
("_TZE200_s1xgth2u", "TS0601", 100, 10),
2526
],
2627
)
2728
async def test_handle_get_data(

zhaquirks/tuya/ts0601_sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
.add_to_registry()
1616
)
1717

18+
1819
(
1920
TuyaQuirkBuilder("_TZE200_a8sdabtg", "TS0601") # Variant without screen, round
2021
.applies_to("_TZE200_qoy0ekbd", "TS0601")
2122
.applies_to("_TZE200_znbl8dj5", "TS0601")
2223
.applies_to("_TZE200_qyflbnbj", "TS0601")
2324
.applies_to("_TZE200_zppcgbdj", "TS0601")
2425
.applies_to("_TZE204_s139roas", "TS0601")
26+
.applies_to("_TZE200_s1xgth2u", "TS0601") # Nedis ZBSC30WT
2527
.tuya_temperature(dp_id=1, scale=10)
2628
.tuya_humidity(dp_id=2)
2729
.tuya_battery(dp_id=4)

0 commit comments

Comments
 (0)