Do not process device tracker when tracking coordinator is disabled

This commit is contained in:
Tomaae 2023-09-12 11:22:01 +02:00
parent 4abf5b210d
commit 2349584551
No known key found for this signature in database
GPG key ID: 2F97770867DAA4E6

View file

@ -49,6 +49,8 @@ async def async_add_entities(
@callback
async def async_update_controller(coordinator):
"""Update the values of the controller."""
if coordinator.data is None:
return
async def async_check_exist(obj, coordinator, uid: None) -> None:
"""Check entity exists."""