mirror of
https://github.com/home-assistant/core.git
synced 2025-05-28 01:37:07 +00:00

* Reset UniFi bandwidth sensor when client misses heartbeat * Fix initialization sequence * Code simplification: remove heartbeat_timedelta, unique_id and tracker logic * Add unit tests * Remove unused _is_connected attribute * Remove redundant async_initiate_state * Make is_connected_fn optional, heartbeat detection will only happen if not None * Add checks on is_connected_fn