meross-homeassistant icon indicating copy to clipboard operation
meross-homeassistant copied to clipboard

Integraion stopped working with: mfaLockExpire error

Open loopy321 opened this issue 6 months ago • 15 comments

Describe the bug I was able to control the garage MSG100s for years, and it recently stopped working. I deleted and re-added the integration but just receive the mfaLockExpire message.

Your environment HomeAssistant version: 2024.8.1 Hassio Version (if applicable): HAOS 13.0 Hardware environment: intel

Logs taken when the issue happened

Traceback (most recent call last):
  File "/config/custom_components/meross_cloud/config_flow.py", line 283, in async_step_configure_manager
    creds = await self._test_authorization(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/meross_cloud/config_flow.py", line 383, in _test_authorization
    client = await MerossHttpClient.async_from_user_password(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/meross_iot/http_api.py", line 119, in async_from_user_password
    creds = await cls.async_login(email=email,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/meross_iot/http_api.py", line 280, in async_login
    mfa_lock_expire=response_data["mfaLockExpire"],
                    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'mfaLockExpire'

v. 1.3.2 of integration

[custom_components.meross_cloud.config_flow] Unable to connect to Meross HTTP api, ex: 'mfaLockExpire'

loopy321 avatar Aug 15 '24 02:08 loopy321