I've made a fresh clone of the repo than I've started the ewelink.py, but I'received the following error message:
Traceback (most recent call last):
File "ewelink.py", line 189, in
from custom_components.sonoff.core.ewelink.init import XRegistry, SIGNAL_ADD_ENTITIES
File "[...]/eWeLink-mqtt/custom_components/sonoff/init.py", line 28, in
from .core import devices as core_devices
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/devices.py", line 20, in
from .ewelink import XDevice
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/init.py", line 7, in
from .base import SIGNAL_CONNECTED, SIGNAL_UPDATE, XDevice, XRegistryBase
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/base.py", line 35, in
class XRegistryBase:
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/base.py", line 36, in XRegistryBase
dispatcher: dict[str, list[Callable]] = None
TypeError: 'type' object is not subscriptable
I've made a fresh clone of the repo than I've started the ewelink.py, but I'received the following error message: Traceback (most recent call last): File "ewelink.py", line 189, in
from custom_components.sonoff.core.ewelink.init import XRegistry, SIGNAL_ADD_ENTITIES
File "[...]/eWeLink-mqtt/custom_components/sonoff/init.py", line 28, in
from .core import devices as core_devices
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/devices.py", line 20, in
from .ewelink import XDevice
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/init.py", line 7, in
from .base import SIGNAL_CONNECTED, SIGNAL_UPDATE, XDevice, XRegistryBase
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/base.py", line 35, in
class XRegistryBase:
File "[...]/eWeLink-mqtt/custom_components/sonoff/core/ewelink/base.py", line 36, in XRegistryBase
dispatcher: dict[str, list[Callable]] = None
TypeError: 'type' object is not subscriptable
Python 3.8.2, OSX
Please, help me!