Quellcode durchsuchen

Standardise products section of config according to docs.

Many configs had used product rather than products.  Since this is not yet used,
it was not detected.
Jason Rumney vor 4 Jahren
Ursprung
Commit
1d54888f7e

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

@@ -1,5 +1,5 @@
 name: ElectriQ Airflex 15W Heatpump
 name: ElectriQ Airflex 15W Heatpump
-product:
+products:
   - id: 4RUISW6Lmtz2u1l8
   - id: 4RUISW6Lmtz2u1l8
 primary_entity:
 primary_entity:
   entity: climate
   entity: climate

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

@@ -1,5 +1,5 @@
 name: Smart Plug with USB ES-01
 name: Smart Plug with USB ES-01
-product:
+products:
   - id: hsoiigeykxh9m4hx
   - id: hsoiigeykxh9m4hx
 primary_entity:
 primary_entity:
     entity: switch
     entity: switch

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

@@ -1,5 +1,5 @@
 name: Sahara Dehumidifier
 name: Sahara Dehumidifier
-product:
+products:
   - id: r6gik8xajfg0lv1y
   - id: r6gik8xajfg0lv1y
     name: Dehumidifier-D030
     name: Dehumidifier-D030
 primary_entity:
 primary_entity:

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

@@ -1,5 +1,5 @@
 name: Kogan SmarterHome™ 2000W Flame heater
 name: Kogan SmarterHome™ 2000W Flame heater
-product:
+products:
   - id: eqyne046pnqkysqh
   - id: eqyne046pnqkysqh
 primary_entity:
 primary_entity:
   entity: climate
   entity: climate

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

@@ -1,5 +1,5 @@
 name: Kogan SmarterHome Portable Air Conditioner
 name: Kogan SmarterHome Portable Air Conditioner
-product:
+products:
   - id: mhod7aykax0wbivn
   - id: mhod7aykax0wbivn
 primary_entity:
 primary_entity:
   entity: climate
   entity: climate

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

@@ -1,5 +1,5 @@
 name: Moes Thermostat and Hydrostat
 name: Moes Thermostat and Hydrostat
-product:
+products:
   - id: dlsdk5zvkuuhufpy
   - id: dlsdk5zvkuuhufpy
 primary_entity:
 primary_entity:
   entity: switch
   entity: switch

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

@@ -1,5 +1,5 @@
 name: Parkside PLGS2012A1 Charger
 name: Parkside PLGS2012A1 Charger
-product:
+products:
   - id: h6pglenun37dzsgo
   - id: h6pglenun37dzsgo
 primary_entity:
 primary_entity:
   entity: switch
   entity: switch

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

@@ -1,5 +1,5 @@
 name: PC321-TY Power Clamp
 name: PC321-TY Power Clamp
-product:
+products:
   - id: r64livttuufctble
   - id: r64livttuufctble
 primary_entity:
 primary_entity:
   entity: sensor
   entity: sensor

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

@@ -1,5 +1,5 @@
 name: RGBCW Lightbulb
 name: RGBCW Lightbulb
-product:
+products:
   - id: aok3caeleulg1neh
   - id: aok3caeleulg1neh
     name: Lijun Smart Bulb RGBCW
     name: Lijun Smart Bulb RGBCW
 primary_entity:
 primary_entity:

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

@@ -1,5 +1,5 @@
 name: Smartplug with encoded info
 name: Smartplug with encoded info
-product:
+products:
   - id: A6bBfm2fmKKRfIxU
   - id: A6bBfm2fmKKRfIxU
     name: スマートプラグ
     name: スマートプラグ
 primary_entity:
 primary_entity:

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

@@ -1,5 +1,5 @@
 name: W'Eau Pool Heatpump
 name: W'Eau Pool Heatpump
-product:
+products:
   - id: zqwet1zcvj2wcxzw
   - id: zqwet1zcvj2wcxzw
 primary_entity:
 primary_entity:
   entity: climate
   entity: climate