Update handlers.py

This commit is contained in:
thekiwismarthome
2026-02-17 20:58:37 +13:00
parent d93ea86d72
commit 88b3f2d435
@@ -113,8 +113,15 @@ async def websocket_increment_item(
item_id,
quantity=new_quantity
)
if updated_item:
hass.bus.async_fire(
EVENT_ITEM_UPDATED,
{
"list_id": updated_item.list_id,
"item_id": item_id,
"item": updated_item.to_dict()
}
)
connection.send_result(msg["id"], {
"item": updated_item.to_dict()
})