qqaatw / JciHitachiHA

A home assistant integration for controlling Jci-Hitachi devices, using LibJciHitachi backend. 台灣日立雲端模組
Apache License 2.0
114 stars 31 forks source link

fix non-thread-safe operation #77

Closed cloudrainstar closed 3 months ago

cloudrainstar commented 3 months ago

I followed the fix mentioned here: https://github.com/home-assistant/core/issues/115235#issuecomment-2043832269 and adapted it here, and it looks like it should fix #76.

cloudrainstar commented 3 months ago

Have you tested this locally with Home Assistant core 2024.5 onward?

Yes, I updated my HA Core to 2024.5.2 yesterday and ran into this issue, so I found other custom components had the same issue and found that their fix solves the issue here. I've been running my HA instance on this code change locally since yesterday.