Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.shopping_list.ClearCompletedItemsView
 
class  homeassistant.components.shopping_list.CreateShoppingListItemView
 
class  homeassistant.components.shopping_list.NoMatchingShoppingListItem
 
class  homeassistant.components.shopping_list.ShoppingData
 
class  homeassistant.components.shopping_list.ShoppingListView
 
class  homeassistant.components.shopping_list.UpdateShoppingListItemView
 

Namespaces

 homeassistant.components.shopping_list
 

Functions

bool homeassistant.components.shopping_list.async_setup (HomeAssistant hass, ConfigType config)
 
bool homeassistant.components.shopping_list.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry)
 
None homeassistant.components.shopping_list.websocket_handle_add (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.shopping_list.websocket_handle_clear (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.shopping_list.websocket_handle_items (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.shopping_list.websocket_handle_remove (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.shopping_list.websocket_handle_reorder (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.shopping_list.websocket_handle_update (HomeAssistant hass, websocket_api.ActiveConnection connection, dict[str, Any] msg)
 

Variables

 homeassistant.components.shopping_list._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.shopping_list.ATTR_COMPLETE = "complete"
 
 homeassistant.components.shopping_list.CONFIG_SCHEMA = vol.Schema({DOMAIN: {}}, extra=vol.ALLOW_EXTRA)
 
 homeassistant.components.shopping_list.ITEM_UPDATE_SCHEMA = vol.Schema({ATTR_COMPLETE: bool, ATTR_NAME: str})
 
string homeassistant.components.shopping_list.PERSISTENCE = ".shopping_list.json"
 
list homeassistant.components.shopping_list.PLATFORMS = [Platform.TODO]
 
 homeassistant.components.shopping_list.SERVICE_ITEM_SCHEMA = vol.Schema({vol.Required(ATTR_NAME): cv.string})
 
 homeassistant.components.shopping_list.SERVICE_LIST_SCHEMA = vol.Schema({})
 
 homeassistant.components.shopping_list.SERVICE_SORT_SCHEMA