AlexandrErohin / home-assistant-flightradar24

Flightradar24 integration for Home Assistant
https://community.home-assistant.io/t/custom-component-flightradar24
MIT License
137 stars 15 forks source link

Possible simplification by using get_bounds_by_point #9

Closed sj3fk3 closed 9 months ago

sj3fk3 commented 9 months ago

Not completely sure, but it looks like the integration also does a calculation to find the bounding box, based on coordinates and radius, but the pyton FlightRadarAPI also has a call for that? get_bounds_by_point.

Maybe that was not used for a reason, or maybe it was overlooked?

AlexandrErohin commented 9 months ago

get_bounds_by_point - it was my contribution to FlightRadarAPI. I added it to FlightRadarAPI after that I published this component