Skip to content

Commit 6ed41bb

Browse files
cspurkdflemstr
authored andcommitted
Correct type hint
1 parent afd43e2 commit 6ed41bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

zhaquirks/schneiderelectric/clusters/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Coroutine, Union
1+
from typing import Any, Coroutine, Dict, Union
22

33
from zigpy.quirks import CustomCluster
44
import zigpy.types as t
@@ -11,7 +11,7 @@
1111
class SEBasic(CustomCluster, Basic):
1212
"""Schneider Electric manufacturer specific Basic cluster."""
1313

14-
attributes: dict[int, ZCLAttributeDef] = Basic.attributes.copy()
14+
attributes: Dict[int, ZCLAttributeDef] = Basic.attributes.copy()
1515

1616
attributes.update(
1717
{
@@ -62,7 +62,7 @@ class SEBasic(CustomCluster, Basic):
6262
class SEWindowCovering(CustomCluster, WindowCovering):
6363
"""Schneider Electric manufacturer specific Window Covering cluster."""
6464

65-
attributes: dict[int, ZCLAttributeDef] = WindowCovering.attributes.copy()
65+
attributes: Dict[int, ZCLAttributeDef] = WindowCovering.attributes.copy()
6666

6767
attributes.update(
6868
{

0 commit comments

Comments
 (0)