mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Freebox call sensor when no call in history (#40001)
This commit is contained in:
parent
b9b76b3519
commit
951c373110
@ -146,6 +146,7 @@ class FreeboxCallSensor(FreeboxSensor):
|
||||
def async_update_state(self) -> None:
|
||||
"""Update the Freebox call sensor."""
|
||||
self._call_list_for_type = []
|
||||
if self._router.call_list:
|
||||
for call in self._router.call_list:
|
||||
if not call["new"]:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user