Bump aioelectricitymaps to v0.1.6 (#106932)
parent
938c32d35e
commit
32b6e4d5de
|
@ -18,11 +18,11 @@ async def fetch_latest_carbon_intensity(
|
|||
) -> CarbonIntensityResponse:
|
||||
"""Fetch the latest carbon intensity based on country code or location coordinates."""
|
||||
if CONF_COUNTRY_CODE in config:
|
||||
return await em.latest_carbon_intensity_by_country_code( # type: ignore[no-any-return]
|
||||
return await em.latest_carbon_intensity_by_country_code(
|
||||
code=config[CONF_COUNTRY_CODE]
|
||||
)
|
||||
|
||||
return await em.latest_carbon_intensity_by_coordinates( # type: ignore[no-any-return]
|
||||
return await em.latest_carbon_intensity_by_coordinates(
|
||||
lat=config.get(CONF_LATITUDE, hass.config.latitude),
|
||||
lon=config.get(CONF_LONGITUDE, hass.config.longitude),
|
||||
)
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
"integration_type": "service",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["aioelectricitymaps"],
|
||||
"requirements": ["aioelectricitymaps==0.1.5"]
|
||||
"requirements": ["aioelectricitymaps==0.1.6"]
|
||||
}
|
||||
|
|
|
@ -233,7 +233,7 @@ aioeagle==1.1.0
|
|||
aioecowitt==2023.5.0
|
||||
|
||||
# homeassistant.components.co2signal
|
||||
aioelectricitymaps==0.1.5
|
||||
aioelectricitymaps==0.1.6
|
||||
|
||||
# homeassistant.components.emonitor
|
||||
aioemonitor==1.0.5
|
||||
|
|
|
@ -212,7 +212,7 @@ aioeagle==1.1.0
|
|||
aioecowitt==2023.5.0
|
||||
|
||||
# homeassistant.components.co2signal
|
||||
aioelectricitymaps==0.1.5
|
||||
aioelectricitymaps==0.1.6
|
||||
|
||||
# homeassistant.components.emonitor
|
||||
aioemonitor==1.0.5
|
||||
|
|
Loading…
Reference in New Issue