mirror of
https://github.com/elisspace/core.git
synced 2026-08-31 00:22:12 +00:00
Fix nextbus timestamp sensor (#61212)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user