Open keithellis74 opened 1 year ago
I replaced the following code in sensor.py
at lines 203 and 204:
if nextDepartureEstimatedTs is None:
self._state = "No Departures"
with
if nextDepartureEstimatedTs is None:
self._state = "0"
and I no longer get the error. There is probably a more elegant way of doing this, but the integration now runs without errors. However instead of showing "No departures" it now looks like this.
I have the same issue.
After upgrading Home Assistant to 2023.5 I now get a
ValueError: could not convert string to float: 'No Departures'
Complete output from log is below: