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

Add support for Petoneer Fresco Mini pet fountain

Issue #2161
Jason Rumney 1 год назад
Родитель
Сommit
d448044264

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -478,7 +478,7 @@ Further device support has been made with the assistance of users. Please consid
 - [mihasybn](https://github.com/mihasybn) for assisting with support for Idea Heating Belt air conditioners.
 - [feeling001](https://github.com/feeling001) for contributing support for EcoPoint EV chargers.
 - [a-r-j-a-n](https://github.com/a-r-j-a-n) for contributing support for Poolex Arctic spa pool heatpump and LSC CCT+RGB ceiling light.
-- [Geek-MD](https://github.com/Geek-MD) for contributing support for generic 2 outlet + 2 USB smartplugs.
+- [Geek-MD](https://github.com/Geek-MD) for contributing support for generic 2 outlet + 2 USB smartplugs and Petoneer Fresco Mini pet fountain.
 - [TwoWheelPro](https://github.com/TwoWheelPro) for contributing support for Holman WX8 irrigation controllers.
 - [scrampker](https://github.com/scrampker) for assisting with support for Ironzon fingerprint locks.
 - [sergeymatsay](https://github.com/sergeymatsay) for assisting with support for Avatto ME81 thermostats.

+ 1 - 0
DEVICES.md

@@ -756,6 +756,7 @@ port and password.
 - Petlibro PLAF103 pet feeder
 - Petlibro PLAF203 pet feeder with camera
 - Petoneer Fresco Hydrate Ultra pet fountain
+- Petoneer Fresco Mini pet fountain
 - Petrust TK-WF002 pet fountain
 - PNI water feeder
 - Puppy Kitty automatic pet feeder

+ 50 - 0
custom_components/tuya_local/devices/petoneer_frescomini_petfountain.yaml

@@ -0,0 +1,50 @@
+name: Pet fountain
+products:
+  - id: uoihz7w5myinwrdx
+    name: Petoneer Fresco Mini
+primary_entity:
+  entity: switch
+  icon: "mdi:water-pump"
+  dps:
+    - id: 101
+      type: boolean
+      name: switch
+secondary_entities:
+  - entity: light
+    class: indicator
+    category: config
+    dps:
+      - id: 102
+        type: integer
+        name: switch
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: 1
+            value: true
+  - entity: sensor
+    name: Filter remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 104
+        type: integer
+        name: sensor
+        unit: min
+  - entity: sensor
+    name: Pump cleaning in
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 105
+        type: integer
+        name: sensor
+        unit: min
+  - entity: sensor
+    name: Water level
+    category: diagnostic
+    dps:
+      - id: 108
+        type: integer
+        name: sensor
+        class: measurement