Open alexeiw123 opened 1 month ago
I think this might originally have been caused by my forked integration, relating to duplicated class names, but (a) I've fixed that and it hasn't resolved the issue and (b) uninstalling it prior to the fix didn't resolve the issue either.
I think somehow that Home Assistant only maintains a single location/database for Python modules installed via the manifest? After an HA upgrade (ie 2024.8.0 to 2024.8.1) the problem goes away which suggest to me that the baked-in integrations and their dependencies are being re-installed over whatever's currently in place?
yes, I can confirm I did try both integrations.
The problem
Sensor is not created on boot due to an error:
transport_nsw: Error on device update!
AttributeError: 'TransportNSW' object has no attribute 'get_departures'
What version of Home Assistant Core has the issue?
core-2024.8.1
What was the last working version of Home Assistant Core?
core-2024.8.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
transport nsw
Link to integration documentation on our website
https://www.home-assistant.io/integrations/transport_nsw
Diagnostics information
No response
Example YAML snippet