luxtronik icon indicating copy to clipboard operation
luxtronik copied to clipboard

coroutine 'LuxtronikThermostat._async_control_heating' was never awaited self._async_control_heating()

Open augi opened this issue 1 year ago • 2 comments

This error originated from a custom integration.

Logger: py.warnings Source: custom_components/luxtronik2/climate.py:254 Integration: Luxtronik First occurred: June 30, 2023 at 7:02:03 PM (9 occurrences) Last logged: July 9, 2023 at 9:29:18 PM

/config/custom_components/luxtronik2/climate.py:254: RuntimeWarning: coroutine 'LuxtronikThermostat._async_control_heating' was never awaited self._async_control_heating()

Maybe there should be something like asyncio.get_event_loop().run_in_executor() used. I'm using 2023.04.30.

augi avatar Jul 10 '23 06:07 augi