Don't allow partial update of input_button settings (#78374)
This commit is contained in:
parent
33fa4ec8b2
commit
abf8b59831
2 changed files with 18 additions and 13 deletions
|
@ -305,6 +305,7 @@ async def test_ws_create_update(hass, hass_ws_client, storage_setup):
|
|||
)
|
||||
resp = await client.receive_json()
|
||||
assert resp["success"]
|
||||
assert resp["result"] == {"id": "new", "name": "newer"}
|
||||
|
||||
state = hass.states.get(f"{DOMAIN}.new")
|
||||
assert state is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue