krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
455 stars 47 forks source link

Garage door opener support. #265

Closed atishay closed 1 year ago

atishay commented 1 year ago

Smart Wi-Fi Garage Door Opener,... https://www.amazon.com/dp/B08GG1H7TV

Getting error:

Logger: homeassistant.config_entries
Source: custom_components/meross_lan/binary_sensor.py:24
Integration: Meross LAN ([documentation](https://github.com/krahabb/meross_lan), [issues](https://github.com/krahabb/meross_lan/issues))
First occurred: 9:47:16 AM (1 occurrences)
Last logged: 9:47:16 AM

Error setting up entry msg100 2206095980898261070248e1e995f254 for meross_lan
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/meross_lan/__init__.py", line 87, in async_setup_entry
  File "/config/custom_components/meross_lan/__init__.py", line 356, in build_device
    CONF_KEY: self.key
  File "/config/custom_components/meross_lan/cover.py", line 42, in <module>
    from .binary_sensor import MLBinarySensor, DEVICE_CLASS_PROBLEM
  File "/config/custom_components/meross_lan/binary_sensor.py", line 24, in <module>
    class MLBinarySensor(me.MerossEntity, BinarySensorEntity):
AttributeError: module 'custom_components.meross_lan.meross_entity' has no attribute 'MerossEntity'