Fix nextbus timestamp sensor (#61212)

This commit is contained in:
Paulus Schoutsen 2021-12-07 22:23:14 -08:00 committed by GitHub
parent 6257b3e070
commit ea42384afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -218,6 +218,4 @@ class NextBusDepartureSensor(SensorEntity):
)
latest_prediction = maybe_first(predictions)
self._state = utc_from_timestamp(
int(latest_prediction["epochTime"]) / 1000
).isoformat()
self._state = utc_from_timestamp(int(latest_prediction["epochTime"]) / 1000)