Enable Ruff D212 (#87347)

This commit is contained in:
Franck Nijhof
2023-02-03 23:08:48 +01:00
committed by GitHub
parent 97de0c6d9a
commit ca1a12898c
237 changed files with 353 additions and 707 deletions

View File

@@ -42,8 +42,7 @@ def setup(hass: HomeAssistant, config: ConfigType) -> bool:
class LircInterface(threading.Thread):
"""
This interfaces with the lirc daemon to read IR commands.
"""This interfaces with the lirc daemon to read IR commands.
When using lirc in blocking mode, sometimes repeated commands get produced
in the next read of a command so we use a thread here to just wait