Răsfoiți Sursa

Update catit_pixi_smart_feeder.yaml (#3939)

* Update catit_pixi_smart_feeder.yaml

Add outlet power status (id: 105). This bit corresponds to the power source status:
- 0: Power outlet (USB-C)
- 1: Batteries

* Update catit_pixi_smart_feeder.yaml Plug monitor point

- Changed Monitor point name from Power outlet to Plug.
- Following @make-all suggestion, defined device class as plug. 
  - Batteries in this devices are not chargable.

* Update catit_pixi_smart_feeder.yaml delete sensor name

Delete power monitoring point custom name to allow automatic translation.
fbesserp 3 luni în urmă
părinte
comite
e95804d30d

+ 13 - 0
custom_components/tuya_local/devices/catit_pixi_smart_feeder.yaml

@@ -149,6 +149,19 @@ entities:
         type: string
         # Present at all times on Catit 43752 but unsure about other products
         optional: true
+  - entity: binary_sensor
+    category: diagnostic
+    class: plug
+    dps:
+      - id: 105
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 1
+            value: false
+          - value: true
+        # Present at all times on Catit 43752 but unsure about other products
+        optional: true
   - entity: switch
     name: Sound enabled
     category: config