Fix cloud test RuntimeWarning (#110909)
This commit is contained in:
parent
764e628394
commit
a21d65d025
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ async def test_enabling_remote_remote_activation_not_allowed(
|
|||
client = await hass_ws_client(hass)
|
||||
mock_connect = cloud.remote.connect
|
||||
assert not cloud.client.remote_autostart
|
||||
cloud.client.prefs.async_update(remote_allow_remote_enable=False)
|
||||
await cloud.client.prefs.async_update(remote_allow_remote_enable=False)
|
||||
|
||||
await client.send_json({"id": 5, "type": "cloud/remote/connect"})
|
||||
response = await client.receive_json()
|
||||
|
|
Loading…
Add table
Reference in a new issue