Change Z-Wave JS discovery logic to adopt changes to DeviceClass (#46983)
Co-authored-by: raman325 <7243222+raman325@users.noreply.github.com>
This commit is contained in:
parent
afae253432
commit
23cbd2dda3
37 changed files with 261 additions and 339 deletions
|
@ -429,10 +429,9 @@ async def websocket_update_log_config(
|
|||
"""Update the driver log config."""
|
||||
entry_id = msg[ENTRY_ID]
|
||||
client = hass.data[DOMAIN][entry_id][DATA_CLIENT]
|
||||
result = await client.driver.async_update_log_config(LogConfig(**msg[CONFIG]))
|
||||
await client.driver.async_update_log_config(LogConfig(**msg[CONFIG]))
|
||||
connection.send_result(
|
||||
msg[ID],
|
||||
result,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue