parent
e6cfa7fa09
commit
93d6f0a780
|
@ -4,7 +4,7 @@ from dataclasses import dataclass
|
|||
from http import HTTPStatus
|
||||
|
||||
import aiohttp
|
||||
from microBeesPy.microbees import MicroBees
|
||||
from microBeesPy import MicroBees
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import CONF_ACCESS_TOKEN
|
||||
|
|
|
@ -3,7 +3,7 @@ from collections.abc import Mapping
|
|||
import logging
|
||||
from typing import Any
|
||||
|
||||
from microBeesPy.microbees import MicroBees, MicroBeesException
|
||||
from microBeesPy import MicroBees, MicroBeesException
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_ACCESS_TOKEN, CONF_TOKEN
|
||||
|
|
|
@ -7,9 +7,7 @@ from http import HTTPStatus
|
|||
import logging
|
||||
|
||||
import aiohttp
|
||||
from microBeesPy.bee import Actuator, Bee
|
||||
from microBeesPy.exceptions import MicroBeesException
|
||||
from microBeesPy.microbees import MicroBees
|
||||
from microBeesPy import Actuator, Bee, MicroBees, MicroBeesException
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import ConfigEntryAuthFailed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"""Base entity for microBees."""
|
||||
|
||||
from microBeesPy.bee import Actuator, Bee
|
||||
from microBeesPy import Actuator, Bee
|
||||
|
||||
from homeassistant.helpers.device_registry import DeviceInfo
|
||||
from homeassistant.helpers.update_coordinator import CoordinatorEntity
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"dependencies": ["application_credentials"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/microbees",
|
||||
"iot_class": "cloud_polling",
|
||||
"requirements": ["microBeesPy==0.2.5"]
|
||||
"requirements": ["microBeesPy==0.2.9"]
|
||||
}
|
||||
|
|
|
@ -1304,7 +1304,7 @@ mficlient==0.3.0
|
|||
micloud==0.5
|
||||
|
||||
# homeassistant.components.microbees
|
||||
microBeesPy==0.2.5
|
||||
microBeesPy==0.2.9
|
||||
|
||||
# homeassistant.components.mill
|
||||
mill-local==0.3.0
|
||||
|
|
|
@ -1040,7 +1040,7 @@ mficlient==0.3.0
|
|||
micloud==0.5
|
||||
|
||||
# homeassistant.components.microbees
|
||||
microBeesPy==0.2.5
|
||||
microBeesPy==0.2.9
|
||||
|
||||
# homeassistant.components.mill
|
||||
mill-local==0.3.0
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
import time
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
from microBeesPy.bee import Bee
|
||||
from microBeesPy.microbees import MicroBees
|
||||
from microBeesPy.profile import Profile
|
||||
from microBeesPy import Bee, MicroBees, Profile
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.application_credentials import (
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"""Tests for config flow."""
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
from microBeesPy.exceptions import MicroBeesException
|
||||
from microBeesPy import MicroBeesException
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.microbees.const import DOMAIN
|
||||
|
|
Loading…
Reference in New Issue