Fix nextbus timestamp sensor (#61212)

This commit is contained in:
Paulus Schoutsen
2021-12-08 11:02:00 -08:00
parent d080c31583
commit e6b784e4f2
+1 -3
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)