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