Fix oasa_telematics timestamp sensor (#61213)

pull/61219/head
Paulus Schoutsen 2021-12-07 22:14:52 -08:00 committed by GitHub
parent 4819484cbb
commit 6257b3e070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class OASATelematicsSensor(SensorEntity):
self._name_data = self.data.name_data self._name_data = self.data.name_data
next_arrival_data = self._times[0] next_arrival_data = self._times[0]
if ATTR_NEXT_ARRIVAL in next_arrival_data: if ATTR_NEXT_ARRIVAL in next_arrival_data:
self._state = next_arrival_data[ATTR_NEXT_ARRIVAL].isoformat() self._state = next_arrival_data[ATTR_NEXT_ARRIVAL]
class OASATelematicsData: class OASATelematicsData: