Closed TwitchingAstronaut closed 2 months ago
Without having tried to reproduce: Maybe there is just no Connection during that Timespan? I had a similar observation, til i found out that during the Nighttime, although in Real-Life it is (looks like) the same Connection, internally it is a different Route. So your "Daytime" Route renders unavailable, while another Route "Nighttime" becomes available. Just guessing, but maybe you didn't check for that?
sensor for train route goes "unknown" from midnight (AEST) +-1hr until 10:00am +- 5min
Does it automatically come back? If so then lkely as @dafunkydan said
I'm expecting it to go "unknown" between Midnight and ~04:30am as there are no trains running during that time Timetable
Have you confirmed between 04.30am and 10.00am it is
route ID: CLSH-3582
The linked Timetable shows a Connection on a Route. I couldnt see the Route ID.
Like i said: I have a Tramline: Same Name, same Start, same Stop, same Stops in between. Guess what: Three different Route IDs. Sometimes its just a minor change (e.g. Platform change, whatever) that may make the Transportation Service give it another Route ID. Or even not that. As almost all Customer never notice, they are sometimes quite creative 😆
If there is no further feedback then kindly close it or I will close it in the next 1-2 days
not resolved, but nothing further to add
There are multiple questions unanswered hence. Your expectation is based on timetable logic but you forget that HA itself also has influence on the state which I cannot control. From my pov, the sensor should be unknown if there is no data/content, not because of the time-of-day.
@TwitchingAstronaut Have you checked for:
It is quite likely that a Connection from A to B runs during the Day the as ConnectionID 111 from StationID 88888, and in the Night as ConnectionID 112 from StationID 88889.
Describe the bug sensor for train route goes "unknown" from midnight (AEST) +-1hr until 10:00am +- 5min
Steps/data to reproduce the behavior, e.g.
Release used Which gtfs2 release and HA type (HAOS/Container) HA version: Core 2024.4.3 (docker) GTFS2 version: 0.4.5
Additional Please add logs if helpfull