Просмотр исходного кода

Add support for MultiIR zigbee temperature/humidity sensor

Issue #710
Jason Rumney 2 лет назад
Родитель
Сommit
6025f99a5f

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -193,7 +193,7 @@ Further device support has been made with the assistance of users.  Please consi
 - [drudgebg](https://github.com/drudgebg) for contributing support for Teckin SS42 outdoor double smartplug.
 - [saotthon](https://github.com/saotthon) for assisting with support for BVF CP1 heaters.
 - [MarciPain](https://github.com/MarciPain) for contributing support for PGST temperature and humidity sensors, Orion OWH-PTC2000 heaters and BlitzWolf SHP6 smartplugs.
-- [fischrobi](https://github.com/fischrobi) for assisting with support for Blitzwolf BW-SH2 humidifiers.
+- [fischrobi](https://github.com/fischrobi) for assisting with support for Blitzwolf BW-SH2 humidifiers and MultiIR zigbee temperature/humidity sensors.
 - [elninosi](https://github.com/elninosi) for assisting with support for LoraTap curtain switches.
 - [mrulke](https://github.com/mrulke) for assisting with support for CCB-11 blind controllers.
 - [Codeazure](https://github.com/Codeazure) for assisting with support for 4-way power monitoring powerstrips (via Kogan 3-way + USB powerstrip).

+ 1 - 0
DEVICES.md

@@ -489,6 +489,7 @@ port and password.
 ### Devices supported via Zigbee hubs
 
 - LoraTap SC500ZB-V2 curtain controller
+- MultiIR MIR-TE100-TY temperature and humidity sensor
 - Nedis ZBSD10WT door/window sensor
 - Nedis ZBSC10WT temperature and humidity sensor
 - ZTH08ZTU temperature and humidity sensor

+ 42 - 0
custom_components/tuya_local/devices/zigbee_mir_te100ty_climate_sensor.yaml

@@ -0,0 +1,42 @@
+name: Climate sensor
+products:
+  - id: a476raq2
+    name: MultiIR Zigbee TE100-TY
+primary_entity:
+  entity: sensor
+  class: humidity
+  dps:
+    - id: 101
+      type: integer
+      name: sensor
+      unit: "%"
+      class: measurement
+      mapping:
+        - scale: 100
+secondary_entities:
+  - entity: sensor
+    name: 
+    class: temperature
+    dps:
+      - id: 103
+        type: integer
+        name: sensor
+        unit: C
+        class: measurement
+        mapping:
+          - scale: 100
+  - entity: sensor
+    name: 
+    class: battery
+    category: diagnostic
+    dps:
+      - id: 102
+        type: integer
+        name: sensor
+        unit: "%"
+        class: measurement
+        mapping:
+          - scale: 5
+
+
+