Fix Z-Wave JS API docstrings (#47061)

pull/47077/head
Charles Garwood 2021-02-26 00:11:06 -05:00 committed by GitHub
parent 7118b7169c
commit 8ab163eda8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ async def websocket_set_config_parameter(
def websocket_get_config_parameters(
hass: HomeAssistant, connection: ActiveConnection, msg: dict
) -> None:
"""Get a list of configuration parameterss for a Z-Wave node."""
"""Get a list of configuration parameters for a Z-Wave node."""
entry_id = msg[ENTRY_ID]
node_id = msg[NODE_ID]
client = hass.data[DOMAIN][entry_id][DATA_CLIENT]
@ -446,7 +446,7 @@ async def websocket_update_log_config(
async def websocket_get_log_config(
hass: HomeAssistant, connection: ActiveConnection, msg: dict
) -> None:
"""Cancel removing a node from the Z-Wave network."""
"""Get log configuration for the Z-Wave JS driver."""
entry_id = msg[ENTRY_ID]
client = hass.data[DOMAIN][entry_id][DATA_CLIENT]
result = await client.driver.async_get_log_config()