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

Add support for iLonda L88 fish feeder

Issue #1619

This is really just a simple switch with the timer on non-standard
dp 6, but by adding it as a specialist device, custom icons are available.
Jason Rumney 1 год назад
Родитель
Сommit
916b6e0061
3 измененных файлов с 28 добавлено и 1 удалено
  1. 1 1
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 26 0
      custom_components/tuya_local/devices/ilonda_l88_fishfeeder.yaml

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -413,7 +413,7 @@ Further device support has been made with the assistance of users. Please consid
 - [rbalaev](https://github.com/rbalaev) for assisting with support for Thermex Lima 80V water heaters.
 - [cart3a](https://github.com/cart3a) for contributing support for Beok TGM50 thermostats.
 - [patoh](https://github.com/patoh) for contributing support for Breville Smart Dry Connect dehumidifiers.
-- [Cadish](https://github.com/Cadish) for assisting with support for Qlima D820A dehumidifiers.
+- [Cadish](https://github.com/Cadish) for assisting with support for Qlima D820A dehumidifier and iLonda L88 fish feeder.
 - [mellow8](https://github.com/mellow8) for assisting with support for ZM-Wi-Fi smart meters.
 - [KodzghlyCZ](https://github.com/KodzghlyCZ) for assisting with support for Tesla Smart humidifiers.
 - [simplelnx](https://github.com/simplelnx) for assisting with support for Modern Flames Orion fireplaces.

+ 1 - 0
DEVICES.md

@@ -720,6 +720,7 @@ port and password.
 - Els Pet Spaceship pet litter box
 - Faroro PF50 pet feeder
 - HoneyGuardian S56 pet feeder
+- iLonda L88 fish feeder
 - Leo's Loo Too pet toilet
 - Littepets MA2 series Cute Baby cat litter box
 - Nedis pet feeder

+ 26 - 0
custom_components/tuya_local/devices/ilonda_l88_fishfeeder.yaml

@@ -0,0 +1,26 @@
+name: Fish feeder
+products:
+  - id: 3jskpz3pwqn9oojn
+    name: iLonda L88
+primary_entity:
+  entity: switch
+  icon: "mdi:fish"
+  dps:
+    - id: 1
+      type: boolean
+      name: switch
+secondary_entities:
+  - entity: number
+    translation_key: timer
+    category: config
+    dps:
+      - id: 6
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 86400
+        mapping:
+          - scale: 60
+            step: 60