Skip to content

Commit

Permalink
🐛 Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
anarion80 committed Sep 17, 2024
1 parent 5ef3e85 commit 53ad64e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions custom_components/tech/climate.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"""Support for Tech HVAC system."""
"""The Tech Controllers Coordinator."""

import logging
from typing import Any

from custom_components.tech import TechCoordinator
from homeassistant.components.climate import ClimateEntity
from homeassistant.components.climate.const import (
ClimateEntityFeature,
Expand All @@ -30,6 +29,7 @@
from homeassistant.helpers.update_coordinator import CoordinatorEntity

from .const import CONTROLLER, DOMAIN, INCLUDE_HUB_IN_NAME, MANUFACTURER, UDID, VER
from .coordinator import TechCoordinator

_LOGGER = logging.getLogger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion custom_components/tech/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
from homeassistant.helpers import entity
from homeassistant.helpers.update_coordinator import CoordinatorEntity

from . import TechCoordinator, assets
from . import assets
from .const import CONTROLLER, INCLUDE_HUB_IN_NAME, MANUFACTURER, UDID
from .coordinator import TechCoordinator

_LOGGER = logging.getLogger(__name__)

Expand Down
3 changes: 2 additions & 1 deletion custom_components/tech/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from homeassistant.helpers.typing import UndefinedType
from homeassistant.helpers.update_coordinator import CoordinatorEntity

from . import TechCoordinator, assets
from . import assets
from .const import (
ACTUATORS,
ACTUATORS_OPEN,
Expand All @@ -59,6 +59,7 @@
WINDOW_STATE,
WORKING_STATUS,
)
from .coordinator import TechCoordinator
from .entity import TileEntity

_LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import aiohttp
import pytest

from custom_components.tech import Tech, TechError, TechLoginError
from custom_components.tech.tech import Tech, TechError, TechLoginError

logging.basicConfig(level=logging.INFO)
_LOGGER = logging.getLogger(__name__)
Expand Down

0 comments on commit 53ad64e

Please sign in to comment.