Parcourir la source

add support for Raddy PT-5 pool thermometer

Gernoti il y a 11 mois
Parent
commit
f58f8452c5
2 fichiers modifiés avec 34 ajouts et 0 suppressions
  1. 1 0
      DEVICES.md
  2. 33 0
      custom_components/tuya_local/devices/pool__thermometer.yaml

+ 1 - 0
DEVICES.md

@@ -956,6 +956,7 @@ port and password.
 
 ### Miscellaneous
 
+- Raddy PT-5 pool thermometer
 - generic illuminance sensor (2 types using different dps)
 - generic PIR motion sensor
 - generic PIR with alarm

+ 33 - 0
custom_components/tuya_local/devices/pool__thermometer.yaml

@@ -0,0 +1,33 @@
+name: Raddy PT-5 pool thermometer
+products:
+  - id: qirx90k6hg4qzpbz
+    model: EM3406B-TY
+entities:
+  - entity: sensor
+    class: temperature
+    dps:
+      - id: 101
+        name: indoor temperature
+        type: integer
+        class: measurement
+        unit: C
+        mapping:
+          - scale: 10
+  - entity: sensor
+    class: humidity
+    dps:
+      - id: 102
+        name: indoor humidity
+        type: integer
+        unit: "%"
+        class: measurement
+  - entity: sensor
+    class: temperature
+    dps:
+      - id: 103
+        name: pool temperature
+        type: integer
+        class: measurement
+        unit: C
+        mapping:
+          - scale: 10