mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Brunt package to 1.2.0 (#66722)
This commit is contained in:
parent
714daebfb9
commit
42b5ce184c
@ -11,6 +11,7 @@ from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
|
||||
|
||||
from .const import DATA_BAPI, DATA_COOR, DOMAIN, PLATFORMS, REGULAR_INTERVAL
|
||||
@ -20,9 +21,11 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
"""Set up Brunt using config flow."""
|
||||
session = async_get_clientsession(hass)
|
||||
bapi = BruntClientAsync(
|
||||
username=entry.data[CONF_USERNAME],
|
||||
password=entry.data[CONF_PASSWORD],
|
||||
session=session,
|
||||
)
|
||||
try:
|
||||
await bapi.async_login()
|
||||
|
@ -3,7 +3,7 @@
|
||||
"name": "Brunt Blind Engine",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/brunt",
|
||||
"requirements": ["brunt==1.1.1"],
|
||||
"requirements": ["brunt==1.2.0"],
|
||||
"codeowners": ["@eavanvalkenburg"],
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["brunt"]
|
||||
|
@ -457,7 +457,7 @@ brother==1.1.0
|
||||
brottsplatskartan==0.0.1
|
||||
|
||||
# homeassistant.components.brunt
|
||||
brunt==1.1.1
|
||||
brunt==1.2.0
|
||||
|
||||
# homeassistant.components.bsblan
|
||||
bsblan==0.5.0
|
||||
|
@ -306,7 +306,7 @@ broadlink==0.18.0
|
||||
brother==1.1.0
|
||||
|
||||
# homeassistant.components.brunt
|
||||
brunt==1.1.1
|
||||
brunt==1.2.0
|
||||
|
||||
# homeassistant.components.bsblan
|
||||
bsblan==0.5.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user