Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Adds constants for Trafikverket Camera integration."""
2 
3 from homeassistant.const import Platform
4 
5 DOMAIN = "trafikverket_camera"
6 PLATFORMS = [Platform.BINARY_SENSOR, Platform.CAMERA, Platform.SENSOR]
7 ATTRIBUTION = "Data provided by Trafikverket"
8 
9 ATTR_DESCRIPTION = "description"
10 ATTR_TYPE = "type"