Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """The Things Network's integration constants."""
2 
3 from homeassistant.const import Platform
4 
5 DOMAIN = "thethingsnetwork"
6 TTN_API_HOST = "eu1.cloud.thethings.network"
7 
8 PLATFORMS = [Platform.SENSOR]
9 
10 CONF_APP_ID = "app_id"
11 
12 POLLING_PERIOD_S = 60