Skip to content

Commit 8b50b7a

Browse files
committed
remove unused imports, fix #15
1 parent 6c3ee0c commit 8b50b7a

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

apps/pyscript_autocomplete/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from homeassistant.helpers import service as ha_service
1212
from homeassistant.helpers.entity_registry import EntityRegistry
1313

14-
from pyscript_mock import *
1514
# noinspection PyBroadException
1615
try:
1716
"""works in pyscript environment only"""
@@ -20,7 +19,6 @@
2019
except:
2120
from pyscript_builtins import *
2221

23-
2422
class Generator:
2523
BASE_ENTITYCLASS_NAME = "_entity"
2624
ENTITY_SUFFIX = "_entity"

apps/pyscript_autocomplete/loader.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

apps/pyscript_autocomplete/pyscript_builtins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from asyncio import Task
22
from typing import Any, Callable, List, Literal, Optional, Set, Union, Dict
33

4-
from homeassistant.core import HomeAssistant, Context
4+
from homeassistant.core import HomeAssistant
55

66
hass = HomeAssistant("")
77

0 commit comments

Comments
 (0)