mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump python-opensky (#93916)
This commit is contained in:
parent
9aed5a47ae
commit
e33ae72f95
@ -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"]
|
||||||
}
|
}
|
||||||
|
@ -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(
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user