Prechádzať zdrojové kódy

ET-72W update:
- Update device naming for clarity
- Add product information
- Remove unit value `W` from Floor sensor type so the value can be used to calculate energy usage

craibo 10 mesiacov pred
rodič
commit
1e9820c0f3

+ 1 - 1
DEVICES.md

@@ -220,7 +220,7 @@
 - Inkbird ITC306A thermostat smartplug
 - Inkbird ITC308 thermostat smartplug
 - Jiahong ET-44W thermostat (also sold under the TheroLife brand)
-- Jiahong ET-72W thermostat
+- Jiahong ET-72W thermostat (Warmme)
 - Kiturami NCTR-100 water and heating thermostat
 - KKMoon knob thermostat
 - Ledlux thermostat

+ 8 - 4
custom_components/tuya_local/devices/jiahong_et72w_thermostat.yaml

@@ -1,4 +1,8 @@
-name: Jiahong ET-72W thermostat
+name: ET-72 Thermostat (Warmme)
+products:
+  - id: m2dkohai78cwr3yd
+    manufacturer: Jiahong
+    model: ET_72GW
 entities:
   - entity: climate
     dps:
@@ -225,11 +229,11 @@ entities:
         name: option
         mapping:
           - dps_val: 3950
-            value: "3950 W"
+            value: "3950"
           - dps_val: 3600
-            value: "3600 W"
+            value: "3600"
           - dps_val: 3700
-            value: "3700 W"
+            value: "3700"
   - entity: select
     category: config
     name: Location