1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Don't allow partial update of input_button settings (#78374)

This commit is contained in:
Erik Montnemery
2022-09-13 20:56:46 +02:00
committed by GitHub
parent 33fa4ec8b2
commit abf8b59831
2 changed files with 18 additions and 13 deletions

View File

@@ -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