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

feat (devices): add Dxophiex fish feeder

Issue #4303
Jason Rumney 2 недель назад
Родитель
Сommit
170cb67381
3 измененных файлов с 96 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 94 0
      custom_components/tuya_local/devices/dxophiex_fishfeeder.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1256,3 +1256,4 @@ Further device support has been made with the assistance of users. Please consid
 - [rplinzner](https://github.com/rplinzner) for contributing support for Duux Beam 2 humidifier.
 - [rplinzner](https://github.com/rplinzner) for contributing support for Duux Beam 2 humidifier.
 - [benjamin-lyon](https://github.com/benjamin-lyon) for contributing support for Arida Eva humidifier.
 - [benjamin-lyon](https://github.com/benjamin-lyon) for contributing support for Arida Eva humidifier.
 - [Ramon-Balaguer](https://github.com/Ramon-Balaguer) for assisting with support for Cecotec Conga Z100 vacuum.
 - [Ramon-Balaguer](https://github.com/Ramon-Balaguer) for assisting with support for Cecotec Conga Z100 vacuum.
+- [zombielinux](https://github.com/zombielinux) for assisting with support for Dxophiex fish feeder.

+ 1 - 0
DEVICES.md

@@ -1049,6 +1049,7 @@ port and password.
 - Cleverio PF100 pet feeder
 - Cleverio PF100 pet feeder
 - Doel cat litter box
 - Doel cat litter box
 - Duoqu Neo-A cat litter box
 - Duoqu Neo-A cat litter box
+- Dxophiex fish feeder
 - Els Pet Spaceship pet litter box
 - Els Pet Spaceship pet litter box
 - Evergreen Solar bird feeder camera
 - Evergreen Solar bird feeder camera
 - Faroro PF50 pet feeder
 - Faroro PF50 pet feeder

+ 94 - 0
custom_components/tuya_local/devices/dxophiex_fishfeeder.yaml

@@ -0,0 +1,94 @@
+name: Fish feeder
+products:
+  - id: yq5jiyjynyduydw6
+    manufacturer: Dxophiex
+    model: AF2020WIFI
+entities:
+  - entity: text
+    name: Meal plan
+    category: config
+    icon: "mdi:calendar-clock"
+    hidden: true
+    dps:
+      - id: 1
+        type: base64
+        optional: true
+        name: value
+  - entity: number
+    translation_key: manual_feed
+    icon: "mdi:shaker"
+    dps:
+      - id: 3
+        type: integer
+        name: value
+        unit: portions
+        range:
+          min: 1
+          max: 12
+  - entity: button
+    translation_key: factory_reset
+    category: config
+    hidden: true
+    dps:
+      - id: 9
+        type: boolean
+        optional: true
+        name: button
+  - entity: sensor
+    name: Last manual feed
+    icon: "mdi:shaker"
+    category: diagnostic
+    dps:
+      - id: 101
+        type: integer
+        name: sensor
+        unit: portions
+  - entity: sensor
+    name: Last auto feed
+    icon: "mdi:shaker"
+    category: diagnostic
+    dps:
+      - id: 102
+        type: integer
+        optional: true
+        name: sensor
+        unit: portions
+  - entity: number
+    name: Auto first feed
+    category: config
+    icon: "mdi:shaker"
+    dps:
+      - id: 104
+        type: integer
+        name: value
+        unit: portions
+        range:
+          min: 1
+          max: 12
+  - entity: number
+    name: Auto second feed
+    category: config
+    icon: "mdi:shaker"
+    dps:
+      - id: 105
+        type: integer
+        name: value
+        unit: portions
+        range:
+          min: 1
+          max: 12
+  - entity: select
+    name: Auto feeding
+    icon: "mdi:repeat"
+    category: config
+    dps:
+      - id: 108
+        type: string
+        name: option
+        mapping:
+          - dps_val: once
+            value: Once a day
+          - dps_val: twice
+            value: Twice a day
+          - dps_val: custom
+            value: Custom meal plan