We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c63646 commit a05ce12Copy full SHA for a05ce12
custom_components/plex_recently_added/sensor.py
@@ -27,7 +27,7 @@ async def async_setup_entry(
27
coordinator: PlexDataCoordinator = hass.data[DOMAIN][config_entry.entry_id]
28
section_types = config_entry.data[CONF_SECTION_TYPES]
29
30
- async_add_entities([PlexRecentlyAddedSensor(coordinator, config_entry, type) for type in section_types] + [PlexRecentlyAddedSensor(coordinator, config_entry)], update_before_add=True)
+ async_add_entities([PlexRecentlyAddedSensor(coordinator, config_entry, type) for type in section_types] + [PlexRecentlyAddedSensor(coordinator, config_entry)])
31
32
33
class PlexRecentlyAddedSensor(CoordinatorEntity[PlexDataCoordinator], SensorEntity):
0 commit comments