From 3f55afd12299038f7f284898fa00db16b12f1ebd Mon Sep 17 00:00:00 2001 From: Beersteak <65889051+Beersteak@users.noreply.github.com> Date: Thu, 2 Jul 2026 10:21:12 +0200 Subject: [PATCH 1/3] Create parkside_PBBA_smart_water_timer.yaml --- .../parkside_PBBA_smart_water_timer.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml diff --git a/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml b/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml new file mode 100644 index 0000000000..aee9748a28 --- /dev/null +++ b/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml @@ -0,0 +1,41 @@ +name: Smart Watering Timer +products: + - id: 6pahkcau + manufacturer: Parkside + model: PBB A1 +entities: + - entity: switch + name: watering + class: water + dps: + - id: 1 + type: boolean + name: switch + - entity: number + category: config + class: duration + translation_key: timer + dps: + - id: 5 + name: value + type: integer + unit: min + range: + min: 0 + max: 1440 + - entity: sensor + class: battery + category: diagnostic + dps: + - id: 11 + type: integer + name: sensor + unit: "%" + - entity: sensor + translation_key: time_remaining + class: duration + dps: + - id: 6 + name: sensor + type: integer + unit: min From 6fcb81413ddcf0b1278ac3940308670797133ff9 Mon Sep 17 00:00:00 2001 From: Beersteak <65889051+Beersteak@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:38:03 +0200 Subject: [PATCH 2/3] Update parkside_PBBA_smart_water_timer.yaml Removed trailing spaces --- .../tuya_local/devices/parkside_PBBA_smart_water_timer.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml b/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml index aee9748a28..9f549f3c8b 100644 --- a/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml +++ b/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml @@ -1,8 +1,8 @@ name: Smart Watering Timer products: - id: 6pahkcau - manufacturer: Parkside - model: PBB A1 + manufacturer: Parkside + model: PBB A1 entities: - entity: switch name: watering @@ -30,7 +30,7 @@ entities: - id: 11 type: integer name: sensor - unit: "%" + unit: "%" - entity: sensor translation_key: time_remaining class: duration From 5271b8a768249489758b0fa1bf0c9ac2e1df59fd Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 2 Jul 2026 21:05:29 +0900 Subject: [PATCH 3/3] fix(parkside_pbba1_watertimer): follow convention - File naming convention - lowercase, grouped as brand_model_type - HA naming convention - only first word capitalised - Keep device name short for when it is prepended to entities - use valve entity for valve (was already implied by class: water) - use time entity for 24h timer --- ...imer.yaml => parkside__pbba1_watertimer.yaml} | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) rename custom_components/tuya_local/devices/{parkside_PBBA_smart_water_timer.yaml => parkside__pbba1_watertimer.yaml} (72%) diff --git a/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml b/custom_components/tuya_local/devices/parkside__pbba1_watertimer.yaml similarity index 72% rename from custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml rename to custom_components/tuya_local/devices/parkside__pbba1_watertimer.yaml index 9f549f3c8b..333d311c5a 100644 --- a/custom_components/tuya_local/devices/parkside_PBBA_smart_water_timer.yaml +++ b/custom_components/tuya_local/devices/parkside__pbba1_watertimer.yaml @@ -1,31 +1,27 @@ -name: Smart Watering Timer +name: Watering timer products: - id: 6pahkcau manufacturer: Parkside model: PBB A1 entities: - - entity: switch - name: watering + - entity: valve class: water dps: - id: 1 type: boolean - name: switch - - entity: number + name: valve + - entity: time category: config - class: duration translation_key: timer dps: - id: 5 - name: value + name: minute type: integer - unit: min range: min: 0 - max: 1440 + max: 1439 - entity: sensor class: battery - category: diagnostic dps: - id: 11 type: integer