You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at some of the integrations in core that implement async_setup_services, they rarely contain more than hass.services.async_register-calls within the function itself.
Prerequisite:
Ensure good test coverage for services before refactoring to avoid introducing regressions.
Main tasks:
Move call to async_setup_services from async_setup_entry to async_setup
Move function definitions out of async_setup_services
Investigate if iter_objects can be simplified and/or makes more sense as a function inside ZaptecManager
Activity
rhammen commentedon Jul 24, 2026
@sveinse This issue will be fixed with open PR #402 . You can set the milestone you think is appropriate.
Refactor services.py: register once in async_setup, fix multi-account…