Skip to content

Commit

Permalink
Kanchou pet fountain: remove power switch and volume state class
Browse files Browse the repository at this point in the history
- power switch is non-functional, so removed.
- HA expects volume sensors to be total/total_increasing or no state class.
  Since this is probably a daily measurement, total_increasing would be wrong,
  and we do not have a reset_time dp to allow use of total.

Issue #2836
  • Loading branch information
make-all committed Feb 13, 2025
1 parent 3f7afbf commit 35f5dbe
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions custom_components/tuya_local/devices/kanchou_petfountain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ products:
- id: akln8rb04cav403q
manufacturer: Kanchou
entities:
- entity: switch
icon: "mdi:paw"
dps:
- id: 1
type: boolean
optional: true
name: switch
- entity: select
name: Mode
icon: "mdi:paw"
Expand Down Expand Up @@ -121,7 +114,6 @@ entities:
type: integer
name: sensor
unit: mL
class: measurement
- entity: binary_sensor
class: problem
category: diagnostic
Expand Down

0 comments on commit 35f5dbe

Please sign in to comment.