Forráskód Böngészése

Fix configs that use product instead of products.

Move the branding in some of them into the product name from the main
name.
Jason Rumney 2 éve
szülő
commit
fe72e1cfd1

+ 3 - 4
custom_components/tuya_local/devices/carro_pn04f02d_fan_light.yaml

@@ -1,7 +1,7 @@
-name: Ceiling Fan and Light Switch
-product:
+name: Ceiling fan
+products:
   - id: 6ahfblexspuaem65
-    name: Carro PN-04F02D ceiling fan and light switch
+    name: Carro PN-04F02D
 primary_entity:
   entity: light
   dps:
@@ -42,4 +42,3 @@ secondary_entities:
             value: 66 
           - dps_val: 3
             value: 100 
-

+ 3 - 2
custom_components/tuya_local/devices/diivoo_wt05.yaml

@@ -12,9 +12,10 @@
 # "114": "OFF",  rain (d)
 # "117": "OFF"   rain (d)
 
-name: Diivoo smart dual water timer
-product:
+name: Dual water timer
+products:
   - id: fdrbxxbg
+    manufacturer: Diivoo
     model: WT-05
 primary_entity:
   entity: switch

+ 1 - 1
custom_components/tuya_local/devices/feit_dimmer.yaml

@@ -1,5 +1,5 @@
 name: Dimmable light
-product:
+products:
   # https://www.feit.com/collections/smart-controls/products/smart-wi-fi-dimmer-dim-wifi
   - id: tebc75erlgslgpn5
     name: Feit Dimmer

+ 1 - 1
custom_components/tuya_local/devices/garza_irrigation_system.yaml

@@ -1,5 +1,5 @@
 name: Garden irrigation system
-product:
+products:
   - id: xnajzurgqo1ugohn
     model: ITV103W
     manufacturer: Garza

+ 1 - 1
custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml

@@ -1,5 +1,5 @@
 name: Thermex water heater
-product:
+products:
   - id: sz9gfbdn5my6GCfR
     name: Thermex IF 50 V pro
 primary_entity: