feat: add feeding schedule management with dual-hopper support#183
Merged
Jezza34000 merged 4 commits intoJezza34000:mainfrom Apr 7, 2026
Merged
feat: add feeding schedule management with dual-hopper support#183Jezza34000 merged 4 commits intoJezza34000:mainfrom
Jezza34000 merged 4 commits intoJezza34000:mainfrom
Conversation
- Register petkit.set_feeding_schedule HA service with voluptuous validation - Transform user-friendly YAML into Petkit saveFeed API payload format - Add services.yaml for HA Actions UI discovery - Support both single-hopper (amount) and dual-hopper (amount1/amount2) feeders - Accept time=0 for midnight feeding schedules
Owner
|
Hi @ugurhangul |
- Add petkit.set_feeding_schedule HA service with voluptuous schema - Add get_raw_feed_plan_from_schedule() for 255-char state limit fix - Add get_raw_schedule() for per-hopper entity attributes (amount1/amount2) - Add extra_state_attributes callback on PetKitDescSensorBase Depends on: py-petkit-api SAVE_FEED command (ugurhangul/py-petkit-api#1)
44dab42 to
22ec6c3
Compare
for more information, see https://pre-commit.ci
Jezza34000
approved these changes
Apr 1, 2026
Owner
|
Hi @ugurhangul |
Contributor
Author
|
I will on weekend |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Adds native feeding schedule management to the PetKit HA integration with dual-hopper (D4H/D4SH) support.
Changes
Dependencies