make-all / metlink-nz

Metlink Wellington Public Transport integration for Home Assistant
Apache License 2.0
10 stars 4 forks source link

Question: would it be possible to add "vehicle_id" and "monitored" as attributes? #8

Closed droopanu closed 1 year ago

make-all commented 1 year ago

That looks straightforward. In the meantime, I think monitored can be figured out from the status, as if it is not monitored it should always show "scheduled" (or "sched", I don't remember if the abbreviation is from the data, or just for the signs) if I am understanding the meaning of that attribute correctly. [Edit: I just checked some test calls, and the status (and vehicle_id) is coming through as null when monitored is false.]