Bump zwave-js-server-python to 0.51.0 (#99250)
* Bump zwave-js-server-python to 0.51.0 * Fix how we patch the command
This commit is contained in:
parent
cdf39ec365
commit
be126da72d
5 changed files with 19 additions and 20 deletions
|
@ -1730,7 +1730,7 @@ async def websocket_subscribe_log_updates(
|
|||
@callback
|
||||
def async_cleanup() -> None:
|
||||
"""Remove signal listeners."""
|
||||
hass.async_create_task(driver.async_stop_listening_logs())
|
||||
hass.async_create_task(client.async_stop_listening_logs())
|
||||
for unsub in unsubs:
|
||||
unsub()
|
||||
|
||||
|
@ -1771,7 +1771,7 @@ async def websocket_subscribe_log_updates(
|
|||
]
|
||||
connection.subscriptions[msg["id"]] = async_cleanup
|
||||
|
||||
await driver.async_start_listening_logs()
|
||||
await client.async_start_listening_logs()
|
||||
connection.send_result(msg[ID])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue