Fix nextbus timestamp sensor (#61212)
This commit is contained in:
parent
6257b3e070
commit
ea42384afd
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue