4
0
Эх сурвалжийг харах

chore: improve devices definition

Felipe Cavalcanti 2 жил өмнө
parent
commit
0efe105a00

+ 4 - 4
custom_components/tuya_local/devices/zigbee_smart_bulb.yaml

@@ -1,9 +1,9 @@
-name: Zigbee Light Bulb
+name: Zigbee light bulb
 products:
   - id: mja6r5ix
-    name: Zigbee Smart Bulb
+    name: MOES zigbee smart bulb
   - id: it1u8ahz
-    name: Smart Bulb RGBCW Zigbee
+    name: MOES smart bulb RGBCW zigbee
 primary_entity:
   entity: light
   dps:
@@ -30,7 +30,7 @@ primary_entity:
         - scale: 3.92
           invert: true
     - id: 2
-      name: effect
+      name: color_mode
       type: string
       optional: true
       mapping:

+ 1 - 3
custom_components/tuya_local/devices/zigbee_zn373186_temphumid_sensor.yaml

@@ -1,7 +1,7 @@
 name: Climate sensor
 products:
   - id: xr3htd96
-    name: Temperature Humidity Sensor (zn373186_01)
+    name: Aubess temperature humidity sensor (zn373186_01)
 primary_entity:
   entity: sensor
   class: temperature
@@ -33,5 +33,3 @@ secondary_entities:
         name: sensor
         unit: "%"
         class: measurement
-        mapping:
-          - scale: 1