Disable AVM FRITZ!Box Tools device_tracker entities by default (#50791)

This commit is contained in:
Michael 2021-05-18 22:16:49 +02:00 committed by GitHub
parent 775af9d2c5
commit 2cd2e46d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,6 +181,11 @@ class FritzBoxTracker(ScannerEntity):
return "mdi:lan-connect"
return "mdi:lan-disconnect"
@property
def entity_registry_enabled_default(self) -> bool:
"""Return if the entity should be enabled when first added to the entity registry."""
return False
@callback
def async_process_update(self) -> None:
"""Update device."""