Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.file_upload.FileUploadData
 
class  homeassistant.components.file_upload.FileUploadView
 

Namespaces

 homeassistant.components.file_upload
 

Functions

bool homeassistant.components.file_upload.async_setup (HomeAssistant hass, ConfigType config)
 
Iterator[Path] homeassistant.components.file_upload.process_uploaded_file (HomeAssistant hass, str file_id)
 

Variables

 homeassistant.components.file_upload.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
string homeassistant.components.file_upload.DOMAIN = "file_upload"
 
int homeassistant.components.file_upload.MAX_SIZE = 100 * ONE_MEGABYTE
 
int homeassistant.components.file_upload.ONE_MEGABYTE = 1024 * 1024
 
string homeassistant.components.file_upload.TEMP_DIR_NAME = f"home-assistant-{DOMAIN}"