Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Fast.com integration."""
2 
3 import logging
4 
5 from homeassistant.const import Platform
6 
7 LOGGER = logging.getLogger(__package__)
8 
9 DOMAIN = "fastdotcom"
10 DATA_UPDATED = f"{DOMAIN}_data_updated"
11 
12 CONF_MANUAL = "manual"
13 
14 SERVICE_NAME = "speedtest"
15 
16 DEFAULT_NAME = "Fast.com"
17 DEFAULT_INTERVAL = 1
18 PLATFORMS: list[Platform] = [Platform.SENSOR]