mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 18:11:41 +02:00
Fix Rova using strings as timestamp (#61201)
This commit is contained in:
@@ -116,7 +116,7 @@ class RovaSensor(SensorEntity):
|
|||||||
self.data_service.update()
|
self.data_service.update()
|
||||||
pickup_date = self.data_service.data.get(self.entity_description.key)
|
pickup_date = self.data_service.data.get(self.entity_description.key)
|
||||||
if pickup_date is not None:
|
if pickup_date is not None:
|
||||||
self._attr_native_value = pickup_date.isoformat()
|
self._attr_native_value = pickup_date
|
||||||
|
|
||||||
|
|
||||||
class RovaData:
|
class RovaData:
|
||||||
|
Reference in New Issue
Block a user