Follow-up on ReCollect Waste calendar entity (#85766)

This commit is contained in:
Aaron Bach 2023-01-12 11:56:06 -07:00 committed by GitHub
parent 4f20b15742
commit 107461df0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class ReCollectWasteCalendar(ReCollectWasteEntity, CalendarEntity):
"""Initialize the ReCollect Waste entity.""" """Initialize the ReCollect Waste entity."""
super().__init__(coordinator, entry) super().__init__(coordinator, entry)
self._attr_unique_id = f"{self._identifier}_calendar" self._attr_unique_id = self._identifier
self._event: CalendarEvent | None = None self._event: CalendarEvent | None = None
@property @property

View File

@ -83,7 +83,7 @@ class ReCollectWasteSensor(ReCollectWasteEntity, SensorEntity):
for _ in range(pickup_index): for _ in range(pickup_index):
event = next(relevant_events) event = next(relevant_events)
except StopIteration: except StopIteration:
LOGGER.info("No pickup event found for %s", self.entity_description.key) LOGGER.debug("No pickup event found for %s", self.entity_description.key)
self._attr_extra_state_attributes = {} self._attr_extra_state_attributes = {}
self._attr_native_value = None self._attr_native_value = None
else: else: