Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix MQTT binary switch #18389
I was getting this in my log files:
After some analysis I reached binary_sensor/mqtt line 157 where an async callback was supposed to be called in order to cancel an evt.async_call_later.
The proper fix would have been to await for self._delay_listener() but we are outside async function.
This patch fixes the warning, but I'm not sure if it is the right approach
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for