Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557)
* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 * Pydocstyle D401 fixes
This commit is contained in:
parent
89d856d147
commit
dd9d53c83e
84 changed files with 148 additions and 130 deletions
|
@ -109,7 +109,7 @@ class IhcLight(IHCDevice, Light):
|
|||
self.ihc_controller.set_runtime_value_bool(self.ihc_id, False)
|
||||
|
||||
def on_ihc_change(self, ihc_id, value):
|
||||
"""Callback from IHC notifications."""
|
||||
"""Handle IHC notifications."""
|
||||
if isinstance(value, bool):
|
||||
self._dimmable = False
|
||||
self._state = value != 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue