From 0ef7d10c77a806b2d867600caf2e5d112dbd2eba Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 23 Jul 2026 15:12:38 +0300 Subject: [PATCH 1/2] fix(petoneer_fresco_ezgo_petfountain): map status code 32 This is not documented on the API, but it is reported when water level is low. --- .../tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml b/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml index bb6aab49817..8080e391525 100644 --- a/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml +++ b/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml @@ -118,6 +118,8 @@ entities: value: "Pump clogged" - dps_val: 16 value: "Pump not detected" + - dps_val: 32 + value: "Water level low" - entity: binary_sensor name: Geyser mode status category: diagnostic From 3726cd3e0d5f0fa834bb4daed17f73742e4d5fc9 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 25 Jul 2026 09:01:26 +0800 Subject: [PATCH 2/2] Enhance pet fountain YAML with tank empty sensor Add mapping for tank empty sensor and update fault codes. --- .../devices/petoneer_fresco_ezgo_petfountain.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml b/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml index 8080e391525..f1321f3d1d7 100644 --- a/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml +++ b/custom_components/tuya_local/devices/petoneer_fresco_ezgo_petfountain.yaml @@ -98,6 +98,8 @@ entities: mapping: - dps_val: 0 value: false + - dps_val: 32 + value: false - value: true - id: 23 type: bitfield @@ -120,6 +122,16 @@ entities: value: "Pump not detected" - dps_val: 32 value: "Water level low" + - entity: binary_sensor + translation_key: tank_empty + dps: + - id: 23 + type: bitfield + name: sensor + mapping: + - dps_val: 32 + value: true + - value: false - entity: binary_sensor name: Geyser mode status category: diagnostic