syssi / xiaomi_airpurifier

Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Apache License 2.0
456 stars 113 forks source link

No support Airdog X7SM #374

Open GreshnikYa opened 3 months ago

GreshnikYa commented 3 months ago

Home Assistant Logs / 系统日志

Error while setting up xiaomi_miio_airpurifier platform for fan Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/xiaomi_miio_airpurifier/fan.py", line 1197, in async_setup_platform device = XiaomiAirDog(name, air_purifier, model, unique_id, retries) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/xiaomi_miio_airpurifier/fan.py", line 3063, in init AirDogOperationMode("Manual"), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 757, in call return cls.new(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 1171, in new raise ve_exc ValueError: 'Manual' is not a valid OperationMode

syssi commented 3 months ago

Do you know the model identifier (f.e. dmaker.fan.p18) of your device?

GreshnikYa commented 3 months ago

Вы знаете идентификатор модели (например, dmaker.fan.p18) вашего устройства? airdog.airpurifier.x7sm