Skip to content

Thread issue while shutting down HA or reloading the integration #372

Open
@chemelli74

Description

@chemelli74
2025-04-16 14:18:48.596 ERROR (Condizionatore Camera) [midealocal.device] [xxxxxxxxxxx] Error in process message aa1fac00000000000303c121014401401164000000000000000000000000d57d,                                 model 00000Q18, subtype 0,                                 device protocol 3, message procol 0
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/midealocal/device.py", line 452, in parse_message
    self.update_all(status)
    ~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/midealocal/device.py", line 545, in update_all
    update(status)
    ~~~~~~^^^^^^^^
  File "/config/custom_components/midea_ac_lan/midea_entity.py", line 112, in update_state
    self.schedule_update_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1260, in schedule_update_ha_state
    self.hass.loop.call_soon_threadsafe(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self._async_write_ha_state_from_call_soon_threadsafe
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 878, in call_soon_threadsafe
    self._check_closed()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions