Skip to content

Commit

Permalink
Don't remove birdseye on startup (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Jan 27, 2023
1 parent 8b78971 commit 18510bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/frigate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
for item in get_cameras_and_zones(config):
current_devices.add(get_frigate_device_identifier(entry, item))

if config.get("birdseye", {}).get("restream", False):
current_devices.add(get_frigate_device_identifier(entry, "birdseye"))

device_registry = dr.async_get(hass)
for device_entry in dr.async_entries_for_config_entry(
device_registry, entry.entry_id
Expand Down

0 comments on commit 18510bc

Please sign in to comment.