Go to the source code of this file.
Namespaces | |
| homeassistant.components.image_upload | |
Functions | |
| None | homeassistant.components.image_upload._generate_thumbnail_if_file_does_not_exist (pathlib.Path target_file, pathlib.Path original_path, str content_type, pathlib.Path target_path, tuple[int, int] target_size) |
| tuple[int, int] | homeassistant.components.image_upload._validate_size_from_filename (str filename) |
| bool | homeassistant.components.image_upload.async_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| homeassistant.components.image_upload._LOGGER = logging.getLogger(__name__) | |
| homeassistant.components.image_upload.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN) | |
| int | homeassistant.components.image_upload.MAX_SIZE = 1024 * 1024 * 10 |
| string | homeassistant.components.image_upload.STORAGE_KEY = "image" |
| int | homeassistant.components.image_upload.STORAGE_VERSION = 1 |
| dictionary | homeassistant.components.image_upload.VALID_SIZES = {256, 512} |
| homeassistant.components.image_upload.VolDictType | |