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

pull/50841/head
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
1 changed files with 5 additions and 0 deletions

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."""