Skip to content

feat(#214): add dual-tray food level sensors for PLAF103-DT Granary - #257

Open
dennismdejong wants to merge 1 commit into
jjjonesjr33:devfrom
dennismdejong:fix/upstream-214
Open

feat(#214): add dual-tray food level sensors for PLAF103-DT Granary#257
dennismdejong wants to merge 1 commit into
jjjonesjr33:devfrom
dennismdejong:fix/upstream-214

Conversation

@dennismdejong

Copy link
Copy Markdown

Fixes #214

Problem: The PLAF103-DT (dual-tray Granary Smart Feeder) uses the same productName as the single-tray version, so it already works with GranarySmartFeeder. However, it has separate food level sensors for left and right trays (leftWarehouseSurplusGrain / rightWarehouseSurplusGrain) and a bowlMode field ("DOUBLE_BOWL").

Changes:

  • Added bowl_mode property (returns "SINGLE_BOWL" or "DOUBLE_BOWL")
  • Modified food_low to check per-tray fields when surplusGrain is not available
  • Added left_food_low and right_food_low properties
  • Added left_food_low and right_food_low PROBLEM binary sensors

Thanks to @jessicabowden for providing the API field names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Device]: PETLIBRO Automatic Cat Feeder for 2 Cats

1 participant