瀏覽代碼

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