mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Follow-up on ReCollect Waste calendar entity (#85766)
This commit is contained in:
parent
4f20b15742
commit
107461df0d
@ -57,7 +57,7 @@ class ReCollectWasteCalendar(ReCollectWasteEntity, CalendarEntity):
|
||||
"""Initialize the ReCollect Waste entity."""
|
||||
super().__init__(coordinator, entry)
|
||||
|
||||
self._attr_unique_id = f"{self._identifier}_calendar"
|
||||
self._attr_unique_id = self._identifier
|
||||
self._event: CalendarEvent | None = None
|
||||
|
||||
@property
|
||||
|
@ -83,7 +83,7 @@ class ReCollectWasteSensor(ReCollectWasteEntity, SensorEntity):
|
||||
for _ in range(pickup_index):
|
||||
event = next(relevant_events)
|
||||
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_native_value = None
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user