Fix Ring sensors with timestamp class returning a string (#60850)

This commit is contained in:
Paulus Schoutsen 2021-12-02 10:55:52 -08:00 committed by GitHub
parent c466f3767a
commit d9c567e205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ class HistoryRingSensor(RingSensor):
if self._latest_event is None:
return None
return self._latest_event["created_at"].isoformat()
return self._latest_event["created_at"]
@property
def extra_state_attributes(self):