Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.shopping_list.CreateShoppingListItemView Class Reference
Inheritance diagram for homeassistant.components.shopping_list.CreateShoppingListItemView:
[legend]
Collaboration diagram for homeassistant.components.shopping_list.CreateShoppingListItemView:
[legend]

Public Member Functions

web.Response post (self, web.Request request, dict[str, str] data)
 

Static Public Attributes

string name = "api:shopping_list:item"
 
string url = "/api/shopping_list/item"
 

Detailed Description

View to retrieve shopping list content.

Definition at line 441 of file __init__.py.

Member Function Documentation

◆ post()

web.Response homeassistant.components.shopping_list.CreateShoppingListItemView.post (   self,
web.Request  request,
dict[str, str]  data 
)
Create a new shopping list item.

Definition at line 448 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.shopping_list.CreateShoppingListItemView.name = "api:shopping_list:item"
static

Definition at line 445 of file __init__.py.

◆ url

string homeassistant.components.shopping_list.CreateShoppingListItemView.url = "/api/shopping_list/item"
static

Definition at line 444 of file __init__.py.


The documentation for this class was generated from the following file: