You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stick.__init__ enables asyncio debug mode for the whole Home Assistant event loop (loop.set_debug(True)) #510
When this runs inside Home Assistant, the library switches on asyncio debug mode for HA's shared event loop. This happens on every startup, every config entry reload, and every setup retry of the Plugwise USB integration. Debug mode is meant for development only and it affects every integration, not just Plugwise.
The HA log fills with thousands of Executing <Task ...> took X seconds warnings (6000+ in our case), which hides real problems.
Debug mode adds CPU overhead to the whole event loop (slow-callback tracking, coroutine origin tracking).
Expected behaviour
A library should not change global event loop settings. Please remove self._loop.set_debug(True). If debugging is needed, users can enable it through HA's own debugpy/homeassistant.debug options or PYTHONASYNCIODEBUG=1.
Workaround in use
An automation that turns debug mode off again some minutes after startup.
Activity
bouwew commentedon Nov 18, 2026
Thanks for reporting the problem!
I will try to implement the suggested change soon.
bouwew commentedon Nov 18, 2026
Implemented in #511
bouwew commentedon Nov 18, 2026
Next is the integration-update, that might be a bit more tricky, the github environment is kind of broken and I'm not an expert on that topic 🙂
bouwew commentedon Nov 20, 2026
@SuperTus please try plugwise_usb-beta v0.59.4, it contains the fix.