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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user