mirror of
https://github.com/home-assistant/core.git
synced 2025-06-15 10:37:06 +00:00
Remove injected logger in Ambient PWS and OpenUV (#56920)
* Remove injected log in OpenUV * Add Ambient
This commit is contained in:
parent
2874ca2e08
commit
80c97a2416
@ -75,7 +75,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
|
|||||||
config_entry.data[CONF_API_KEY],
|
config_entry.data[CONF_API_KEY],
|
||||||
config_entry.data[CONF_APP_KEY],
|
config_entry.data[CONF_APP_KEY],
|
||||||
session=session,
|
session=session,
|
||||||
logger=LOGGER,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
hass.loop.create_task(ambient.ws_connect())
|
hass.loop.create_task(ambient.ws_connect())
|
||||||
|
@ -66,7 +66,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
|
|||||||
config_entry.data.get(CONF_LONGITUDE, hass.config.longitude),
|
config_entry.data.get(CONF_LONGITUDE, hass.config.longitude),
|
||||||
altitude=config_entry.data.get(CONF_ELEVATION, hass.config.elevation),
|
altitude=config_entry.data.get(CONF_ELEVATION, hass.config.elevation),
|
||||||
session=websession,
|
session=websession,
|
||||||
logger=LOGGER,
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
await openuv.async_update()
|
await openuv.async_update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user