Namespaces | |
| const | |
| media_source | |
Classes | |
| class | Image |
| class | ImageContentTypeError |
| class | ImageEntity |
| class | ImageEntityDescription |
| class | ImageStreamView |
| class | ImageView |
Functions | |
| Image | _async_get_image (ImageEntity image_entity, int timeout) |
| web.StreamResponse | async_get_still_stream (web.Request request, ImageEntity image_entity) |
| None | async_handle_snapshot_service (ImageEntity image, ServiceCall service_call) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| str | valid_image_content_type (str|None content_type) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CACHED_PROPERTIES_WITH_ATTR_ |
| Final | |
| string | FRAME_BOUNDARY = "frame-boundary" |
| FRAME_SEPARATOR = bytes(f"\r\n--{FRAME_BOUNDARY}\r\n", "utf-8") | |
| LAST_FRAME_MARKER = bytes(f"\r\n--{FRAME_BOUNDARY}--\r\n", "utf-8") | |
| minutes | |
| PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA | |
| PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE | |
| seconds | |
| VolDictType | |
The image integration.
|
private |
Fetch image from an image entity.
Definition at line 97 of file __init__.py.
| web.StreamResponse homeassistant.components.image.async_get_still_stream | ( | web.Request | request, |
| ImageEntity | image_entity | ||
| ) |
Generate an HTTP multipart stream from the Image.
Definition at line 323 of file __init__.py.
| None homeassistant.components.image.async_handle_snapshot_service | ( | ImageEntity | image, |
| ServiceCall | service_call | ||
| ) |
Handle snapshot services calls.
Definition at line 408 of file __init__.py.
| bool homeassistant.components.image.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the image component.
Definition at line 108 of file __init__.py.
| bool homeassistant.components.image.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 144 of file __init__.py.
| bool homeassistant.components.image.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 149 of file __init__.py.
| str homeassistant.components.image.valid_image_content_type | ( | str | None | content_type | ) |
Validate the assigned content type is one of an image.
Definition at line 90 of file __init__.py.
|
private |
Definition at line 48 of file __init__.py.
| dictionary homeassistant.components.image.CACHED_PROPERTIES_WITH_ATTR_ |
Definition at line 154 of file __init__.py.
| homeassistant.components.image.Final |
Definition at line 50 of file __init__.py.
| string homeassistant.components.image.FRAME_BOUNDARY = "frame-boundary" |
Definition at line 67 of file __init__.py.
| homeassistant.components.image.FRAME_SEPARATOR = bytes(f"\r\n--{FRAME_BOUNDARY}\r\n", "utf-8") |
Definition at line 68 of file __init__.py.
| homeassistant.components.image.LAST_FRAME_MARKER = bytes(f"\r\n--{FRAME_BOUNDARY}--\r\n", "utf-8") |
Definition at line 69 of file __init__.py.
| homeassistant.components.image.minutes |
Definition at line 62 of file __init__.py.
| homeassistant.components.image.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 53 of file __init__.py.
| homeassistant.components.image.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 54 of file __init__.py.
| homeassistant.components.image.seconds |
Definition at line 55 of file __init__.py.
| homeassistant.components.image.VolDictType |
Definition at line 71 of file __init__.py.