Update docstrings (#7374)
* Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstring * Update docstrings * Update docstrings * Fix lint issues * Update docstrings * Revert changes in dict
This commit is contained in:
parent
0e08925259
commit
a4f1f6e724
340 changed files with 1533 additions and 1708 deletions
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Support for Volvo locks.
|
||||
Support for Volvo On Call locks.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/lock.volvooncall/
|
||||
|
@ -14,9 +14,10 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
# pylint: disable=unused-argument
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Setup the lock."""
|
||||
"""Set up the Volvo On Call lock."""
|
||||
if discovery_info is None:
|
||||
return
|
||||
|
||||
add_devices([VolvoLock(hass, *discovery_info)])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue