Skip to content

Unable to update settings error in update_port_controls #109

@danielgoepp

Description

@danielgoepp

Describe the bug
This started happening 7/4 at 18:45. Is anyone else experiencing an issue?
I'm not sure if this is something I did or if there is a bug, but I can't figure it out. When I turn a fan on or off I get this error:

2025-07-07 06:13:51.428 WARNING (MainThread) [custom_components.ac_infinity.core] Unable to update settings. Retry attempt 1/2
2025-07-07 06:13:57.993 WARNING (MainThread) [custom_components.ac_infinity.core] Unable to update settings. Retry attempt 2/2
2025-07-07 06:14:04.095 ERROR (MainThread) [custom_components.ac_infinity.core] Unable to update settings. Retry attempt limit exceeded
Traceback (most recent call last):
  File "/config/custom_components/ac_infinity/core.py", line 823, in update_port_controls
    await self._client.set_device_mode_settings(
        controller_id, port_index, key_values
    )
  File "/config/custom_components/ac_infinity/client.py", line 128, in set_device_mode_settings
    _ = await self.__post(API_URL_ADD_DEV_MODE, settings, headers)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ac_infinity/client.py", line 248, in __post
    raise ACInfinityClientRequestFailed(json)
custom_components.ac_infinity.client.ACInfinityClientRequestFailed: {'msg': 'Something went wrong with your request.\nPlease try again later.', 'code': 100001}
2025-07-07 06:14:04.096 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [123444906790240] Error during service call to select.select_option: {'msg': 'Something went wrong with your request.\nPlease try again later.', 'code': 100001}

What's interesting though is that it does actually update the fan. I have the app on my phone, and I can see the fan turn on and off.

What's even more odd..I can set the mode to "Cycle" and I get no error, but "On" and "Off" both error.

To Reproduce
Just turn the fan on or off from Home Assistant.

Expected behavior
I expect the fan to turn on and off without erroring.

Desktop (please complete the following information):

  • Any - The issue is server side, not client side

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions