Dear all,
I created an own custom component.
The configuration is done via configuarion.yaml as sensor
So far it is working, but sometimes HA is updating the wrong sensors.
The integration is showing the times of the munich public transportations.
I created several entries for different stations.
E.g. I have a sensor for the station Pasing
sensor.pasing
and one for busstops in my hometown
sensor.busabfahrten
and some more entries
Sometimes it happens, that the sensor.busabfahrten will be updated with the content on the sensor.pasing also other sensors got the wrong content. Its not always the same sensor.
It looks like that it only happens when the API from the public transportation server is not available.
Maybe someone can have a lock to the sensor.py located here:
I just started with HA and Python around 7 weeks ago, so I am not the best programmer. But this behaviour is crazy.
It looks like, that HA mixed up the different threads for the integration.