mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Migrate appropriate ReCollect Waste sensors to use datetime state objects (#59943)
This commit is contained in:
parent
72b0eb719e
commit
40570b572d
@ -97,4 +97,4 @@ class ReCollectWasteSensor(CoordinatorEntity, SensorEntity):
|
|||||||
ATTR_NEXT_PICKUP_DATE: next_pickup_event.date.isoformat(),
|
ATTR_NEXT_PICKUP_DATE: next_pickup_event.date.isoformat(),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
self._attr_native_value = pickup_event.date.isoformat()
|
self._attr_native_value = pickup_event.date
|
||||||
|
Loading…
x
Reference in New Issue
Block a user