diff --git a/custom_components/georide/__init__.py b/custom_components/georide/__init__.py index c5978a6..06cf152 100644 --- a/custom_components/georide/__init__.py +++ b/custom_components/georide/__init__.py @@ -310,7 +310,7 @@ class GeoRideContext: name= tracker_beacon.name ) coordoned_beacon = { - "beacon_device": DeviceBeacon(tracker_beacon), + "tracker_beacon": DeviceBeacon(tracker_beacon), "coordinator": coordinator } self._georide_trackers_beacon_coordoned.append(coordoned_beacon) diff --git a/custom_components/georide/siren.py b/custom_components/georide/siren.py index d507210..748f4fd 100644 --- a/custom_components/georide/siren.py +++ b/custom_components/georide/siren.py @@ -35,7 +35,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities): # pylint: d if tracker_device.tracker.version > 2: entities.append(GeoRideSirenEntity(coordinator, tracker_device, hass)) - await async_add_entities(entities) + async_add_entities(entities) return True