Fix failed build

This commit is contained in:
Andre Basche 2023-07-24 01:56:15 +02:00
parent 9d6b8297b2
commit 2acc6225c4
4 changed files with 2 additions and 5 deletions

View file

@ -20,7 +20,6 @@ from pyhon.parameter.range import HonParameterRange
from .const import DOMAIN from .const import DOMAIN
from .hon import HonEntity from .hon import HonEntity
from .typedefs import HonEntityDescription
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View file

@ -3,9 +3,9 @@ import logging
from contextlib import suppress from contextlib import suppress
from datetime import timedelta from datetime import timedelta
from pathlib import Path from pathlib import Path
from typing import Optional, Any, TypeVar from typing import Optional, Any
import pkg_resources import pkg_resources # type: ignore[import, unused-ignore]
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.core import callback from homeassistant.core import callback
from homeassistant.helpers.entity import DeviceInfo from homeassistant.helpers.entity import DeviceInfo

View file

@ -92,4 +92,3 @@ T = TypeVar(
SelectEntityDescription, SelectEntityDescription,
NumberEntityDescription, NumberEntityDescription,
) )

View file

@ -8,7 +8,6 @@ from pathlib import Path
from pyhon import HonAPI from pyhon import HonAPI
if __name__ == "__main__": if __name__ == "__main__":
sys.path.insert(0, str(Path(__file__).parent.parent)) sys.path.insert(0, str(Path(__file__).parent.parent))