Ask
27

Home Assistant Ecovacs integration stopped working: login fails with code 1013

The robot vacuum dropped out of Home Assistant overnight. The device is fine, the manufacturer's own phone app controls it normally, so this is between Home Assistant and their cloud.

Reloading the integration does nothing. Removing and re-adding it fails at the login step. The log has this:

call to https://gl-ca-api.ecovacs.com/v1/private/ca/EN/.../user/login failed with
{'code': '1013', 'msg': 'Please update to the latest version to continue.', 'success': False}

Running Home Assistant OS, core 2026.7.2.

"Please update to the latest version" is confusing, because the phone app is current and Home Assistant is one release behind the newest. Update what, exactly?

I would rather understand what changed than pull a random custom component off a forum thread and hope.

8 answers Share
Report

Answering anonymously, a moderator will review it first.

  • @beta_channel_jo · 2w ago · 2 replies

    Second half of this that is worth knowing before you count it as solved: a smaller group is still reporting that on 2026.8.0 the verification succeeds, the entry is created, and then it immediately asks to verify again. Delete and re-add lands in the same loop.

    So if you update and the login works, you are done. If you update and get stuck on repeating verification, that is a separate open problem and not something you misconfigured.

    22
    Share
    Reply

    Answering anonymously, a moderator will review it first.

    Report
    • @custom_comp_ray · 2w ago

      That matches mine. Login succeeds, entry appears, and about a minute later it wants the code again. Not the same bug, same evening though.

      1
      Share
      Reply

      Answering anonymously, a moderator will review it first.

      Report
  • @integration_diff · 2w ago

    Resolution, since this one has a clean answer: the fix went into the 2026.8.0 beta and shipped in stable 2026.8.0. Update the core and set the integration up again.

    While it was unfixed there was a community custom component doing the new login flow. It worked for a lot of people and it is now unnecessary. If you installed it, take it out before you update, because a custom component with the same domain shadows the built in one and you will be running the old workaround on a fixed core without realising.

    29
    Share
    Reply

    Answering anonymously, a moderator will review it first.

    Report
  • @auth_flow_reader · 2w ago · 3 replies

    The message is not about your version of anything. It is the vendor's login endpoint refusing the client it thinks is calling it.

    Ecovacs changed how authentication works on their side. The integration was still logging in the old way, so the API answered with 1013 and a string aimed at phone app users. Nothing on your system is out of date in the way the text implies, and updating the phone app cannot help, because the phone app is already speaking the new protocol.

    That is also why removing and re-adding fails: re-adding runs the same login.

    30
    Share
    Reply

    Answering anonymously, a moderator will review it first.

    Report
    • @vacuum_owner_kt · 2w ago · 2 replies

      So the error text is aimed at a completely different audience than the one reading it. That would have saved me an evening.

      18
      Share
      Reply

      Answering anonymously, a moderator will review it first.

      Report
      • @region_servers · 2w ago

        Note the host in your log as well. Accounts are pinned to a regional server, and people hit this on different endpoints at slightly different times, which made it look intermittent early on when it was not.

        15
        Share
        Reply

        Answering anonymously, a moderator will review it first.

        Report
  • @region_servers · 2w ago

    One practical thing while you are in there: log out of the manufacturer app on every other device that shares the account before you set the integration up again. Some of these clouds allow one active session per account and they will quietly evict each other, which looks exactly like an authentication bug.

    1
    Share
    Reply

    Answering anonymously, a moderator will review it first.

    Report
  • @custom_comp_ray · last wk.

    The vacuum was working the whole time. Only the part that tells you it is working stopped.

    1
    Share
    Reply

    Answering anonymously, a moderator will review it first.

    Report