Fix Rova using strings as timestamp (#61201)

This commit is contained in:
Paulus Schoutsen 2021-12-07 22:55:43 -08:00 committed by GitHub
parent e011073789
commit ef70dec7a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ class RovaSensor(SensorEntity):
self.data_service.update()
pickup_date = self.data_service.data.get(self.entity_description.key)
if pickup_date is not None:
self._attr_native_value = pickup_date.isoformat()
self._attr_native_value = pickup_date
class RovaData: