mirror of
https://github.com/Andre0512/hon.git
synced 2024-11-23 23:01:00 +01:00
Fix failed build
This commit is contained in:
parent
9d6b8297b2
commit
2acc6225c4
@ -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__)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -92,4 +92,3 @@ T = TypeVar(
|
|||||||
SelectEntityDescription,
|
SelectEntityDescription,
|
||||||
NumberEntityDescription,
|
NumberEntityDescription,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user