Skip to content

Commit 942d0cc

Browse files
committed
In __init__.py, do not use 'import .const'
1 parent 685ada1 commit 942d0cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

custom_components/zha_toolkit/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
from zigpy import types as t
1616
from zigpy.exceptions import DeliveryError
1717

18+
from . import const as c
1819
from . import params as PARDEFS
1920
from . import utils as u
20-
from .const import DOMAIN
21+
22+
DOMAIN = c.DOMAIN
2123

2224
DEPENDENCIES = ["zha"]
2325

0 commit comments

Comments
 (0)