Open sheminasalam opened 1 month ago
It is because of this https://github.com/AlexandrErohin/home-assistant-flightradar24/blob/main/custom_components/flightradar24/sensor.py#L107 Sensor is updated twice - with empty flights and then with full data. Without the first empty update - HA doesnt update sensor if only some flight fields are updated (altitude, latitude/longitude, speed and ect.) and in flight info would be outdated parameters altitude, latitude/longitude ...
First of all, I really appreciate this addon. Was looking for such an addon for some time. I use node red to get notifications from the current area entity. It has been working fine till the latest version. In the latest version, I am getting the following type of outputs from the entities.
The main issue is that majority of the time when the payload is 1, there is no flight attributes. at times even when the payload is 0, there is flight attributes.