ha-inlite

Home Assistant integration for in-lite
git clone https://git.stephank.nl/ha-inlite
Log | Files | Refs | README | LICENSE | ZIP

commit 4d9d7f8fdb3b02d98f29e40ce023cf2b9fe5226f
parent c89368ead58a300078e6c8dc09db456aec5a188b
Author: Stéphan Kochen <git@stephank.nl>
Date: Tue, 29 Sep 2026 21:27:14 +0200

Mark clock sync with @callback

diff --git a/custom_components/inlite/__init__.py b/custom_components/inlite/__init__.py index 91c734b1933ef870467767cbceedf4a655c180f9..5dbc86b3c5c0615b50157b1f4578b9fd35b329a6 100644 --- a/custom_components/inlite/__init__.py +++ b/custom_components/inlite/__init__.py @@ -80,6 +80,7 @@ ).setdefault(DATA_COORDINATORS, {}) coordinators[entry.entry_id] = coordinator _async_register_services(hass) + @callback def _async_sync_clock_daily(_: datetime) -> None: """Start the daily local clock synchronization without blocking HA.""" hass.async_create_task(coordinator.async_sync_clock())