Python client for the Baby Tracker sync server, reverse engineered from the Android app (4.53), and a HACS-installable Home Assistant integration built on it. Each baby gets a log calendar and summary sensors, and actions add entries that sync back to the group. Reading has been run against the real server. Uploading and running inside real Home Assistant have not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
522 B
Python
19 lines
522 B
Python
class HomeAssistantError(Exception):
|
|
def __init__(self, *args, translation_domain=None, translation_key=None, translation_placeholders=None):
|
|
super().__init__(*args)
|
|
self.translation_domain = translation_domain
|
|
self.translation_key = translation_key
|
|
self.translation_placeholders = translation_placeholders
|
|
|
|
|
|
class ServiceValidationError(HomeAssistantError):
|
|
pass
|
|
|
|
|
|
class ConfigEntryAuthFailed(HomeAssistantError):
|
|
pass
|
|
|
|
|
|
class ConfigEntryNotReady(HomeAssistantError):
|
|
pass
|