Bump python-opensky (#93916)

This commit is contained in:
Joost Lekkerkerker 2023-06-01 17:01:51 +02:00 committed by GitHub
parent 9aed5a47ae
commit e33ae72f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -4,5 +4,5 @@
"codeowners": ["@joostlek"], "codeowners": ["@joostlek"],
"documentation": "https://www.home-assistant.io/integrations/opensky", "documentation": "https://www.home-assistant.io/integrations/opensky",
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"requirements": ["python-opensky==0.0.7"] "requirements": ["python-opensky==0.0.8"]
} }

View File

@ -78,7 +78,7 @@ def setup_platform(
latitude = config.get(CONF_LATITUDE, hass.config.latitude) latitude = config.get(CONF_LATITUDE, hass.config.latitude)
longitude = config.get(CONF_LONGITUDE, hass.config.longitude) longitude = config.get(CONF_LONGITUDE, hass.config.longitude)
radius = config.get(CONF_RADIUS, 0) radius = config.get(CONF_RADIUS, 0)
bounding_box = OpenSky.get_bounding_box(latitude, longitude, radius) bounding_box = OpenSky.get_bounding_box(latitude, longitude, radius * 1000)
session = async_get_clientsession(hass) session = async_get_clientsession(hass)
opensky = OpenSky(session=session) opensky = OpenSky(session=session)
add_entities( add_entities(

View File

@ -2124,7 +2124,7 @@ python-nest==4.2.0
python-opendata-transport==0.3.0 python-opendata-transport==0.3.0
# homeassistant.components.opensky # homeassistant.components.opensky
python-opensky==0.0.7 python-opensky==0.0.8
# homeassistant.components.otbr # homeassistant.components.otbr
# homeassistant.components.thread # homeassistant.components.thread