Migrate appropriate ReCollect Waste sensors to use datetime state objects (#59943)

This commit is contained in:
Aaron Bach 2021-11-19 18:06:23 -07:00 committed by GitHub
parent 72b0eb719e
commit 40570b572d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,4 +97,4 @@ class ReCollectWasteSensor(CoordinatorEntity, SensorEntity):
ATTR_NEXT_PICKUP_DATE: next_pickup_event.date.isoformat(),
}
)
self._attr_native_value = pickup_event.date.isoformat()
self._attr_native_value = pickup_event.date