diff --git a/custom_components/icloud3/support/recorder_prefilter.py b/custom_components/icloud3/support/recorder_prefilter.py index 9967c36..ef69435 100644 --- a/custom_components/icloud3/support/recorder_prefilter.py +++ b/custom_components/icloud3/support/recorder_prefilter.py @@ -120,6 +120,8 @@ def entity_filter(entity_id): return False if entity_id in hass.data['recorder_prefilter']['exclude_entities']: return False + if recorder_entity_filter is None: + return False return recorder_entity_filter(entity_id)