This needs to be extracted into a PyPi package as per our guidelines:    https://developers.home-assistant.io/docs/en/creating_platform_code_review.html#6-communication-with-devices-services    Yes, this code needs to be in a PyPi package too, even if it's just a single call. No discussion.