Преглед изворни кода

Powerworld PW040: update products to new format

Split manufacturer and model, for later use in device info.
Jason Rumney пре 1 година
родитељ
комит
def8169006
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      custom_components/tuya_local/devices/powerworld_pw040.yaml

+ 2 - 1
custom_components/tuya_local/devices/powerworld_pw040.yaml

@@ -1,7 +1,8 @@
 name: PW040
 products:
   - id: 5oc9wmac3bbidekc
-    name: Powerworld PW040 (sold as "Michl SMP13")
+    manufacturer: Powerworld / Michl
+    model: PW040 / SMP13
 entities:
   - entity: number
     name: WarmwasserSoll_T  # hot water target value