niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
470 stars 62 forks source link

Fix mqtt message handler with asyncio #244

Closed Necroneco closed 3 months ago

Necroneco commented 3 months ago

Currently, it will cause error in some cases, in HA 2024.4 beta. Specifically, is in automation with xiaomi_aqara.click event.

I'm not sure if this is a problem on this side, but it can be fixed in this way.

niceboygithub commented 3 months ago

@Necroneco please check this PR. https://github.com/niceboygithub/AqaraGateway/pull/245

Necroneco commented 3 months ago

@Necroneco please check this PR. #245

243 and #245 fixed the reconnect issue, this is another problem different from them.