Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the MJPEG integration."""
2 
3 import logging
4 from typing import Final
5 
6 from homeassistant.const import Platform
7 
8 DOMAIN: Final = "mjpeg"
9 PLATFORMS: Final = [Platform.CAMERA]
10 
11 LOGGER = logging.getLogger(__package__)
12 
13 CONF_MJPEG_URL: Final = "mjpeg_url"
14 CONF_STILL_IMAGE_URL: Final = "still_image_url"