Просмотр исходного кода

feat: add support for SunnyBot plant light

Issue #3574
Jason Rumney 4 месяцев назад
Родитель
Сommit
888c7907e8
3 измененных файлов с 60 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 58 0
      custom_components/tuya_local/devices/sunnybot_plant_light.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1051,3 +1051,4 @@ Further device support has been made with the assistance of users. Please consid
 - [IshanAPatel](https://github.com/IshanAPatel) for contributing support for two models of Globe ceiling fans with RGBCW lights.
 - [swarshah](https://github.com/swarshah) for contributing support for 4-in-1 10GHz motion sensor.
 - [fragpic](https://github.com/fragpic) for assisting with support for AM24 venetian blinds motor.
+- [rachinibop](https://github.com/rachinibop) for assisting with support for SunnyBot plant light.

+ 1 - 0
DEVICES.md

@@ -746,6 +746,7 @@ of device.
 - Richelieu tunable white LED puck light (166142030)
 - Spa Electrics Iris pool light controller
 - Space Dog Music Lamp (works for Aurora Smart Galaxy Star)
+- SunnyBot plant light
 - Tampa Magnetic LED System CD-TY-WY05
 - Teberno LED strip light (LGC-005 OEM3)
 - Tech Inc 3m neon strip

+ 58 - 0
custom_components/tuya_local/devices/sunnybot_plant_light.yaml

@@ -0,0 +1,58 @@
+name: Plant light
+products:
+  - id: ba8nq6kussycm5l1
+    manufacturer: SunnyBot
+entities:
+  - entity: light
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: string
+        name: work_mode
+      - id: 3
+        type: integer
+        name: brightness
+        range:
+          min: 0
+          max: 1000
+  - entity: text
+    name: Timer
+    category: config
+    icon: "mdi:timer"
+    hidden: true
+    dps:
+      - id: 37
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Timer report
+    category: config
+    icon: "mdi:timer"
+    hidden: true
+    dps:
+      - id: 38
+        type: base64
+        optional: true
+        name: value
+  - entity: light
+    name: Violet
+    dps:
+      - id: 54
+        name: brightness
+        type: integer
+        range:
+          min: 0
+          max: 1000
+  - entity: text
+    name: Multiswitch
+    category: config
+    icon: "mdi:dip-switch"
+    hidden: true
+    dps:
+      - id: 56
+        type: base64
+        optional: true
+        name: value