Revert fritz pref_disable_new_entities handling (#56891)

This commit is contained in:
Simone Chemelli 2021-10-01 16:18:49 +02:00 committed by GitHub
parent 0916322a43
commit 735c9f8f0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 20 deletions

View file

@ -54,7 +54,6 @@ def _is_tracked(mac: str, current_devices: ValuesView) -> bool:
def device_filter_out_from_trackers(
mac: str,
device: FritzDevice,
pref_disable_new_entities: bool,
current_devices: ValuesView,
) -> bool:
"""Check if device should be filtered out from trackers."""
@ -63,8 +62,6 @@ def device_filter_out_from_trackers(
reason = "Missing IP"
elif _is_tracked(mac, current_devices):
reason = "Already tracked"
elif pref_disable_new_entities:
reason = "Disabled System Options"
if reason:
_LOGGER.debug(