Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the pi_hole integration."""
2 
3 from datetime import timedelta
4 
5 DOMAIN = "pi_hole"
6 
7 CONF_STATISTICS_ONLY = "statistics_only"
8 
9 DEFAULT_LOCATION = "admin"
10 DEFAULT_METHOD = "GET"
11 DEFAULT_NAME = "Pi-Hole"
12 DEFAULT_SSL = False
13 DEFAULT_VERIFY_SSL = True
14 DEFAULT_STATISTICS_ONLY = True
15 
16 SERVICE_DISABLE = "disable"
17 SERVICE_DISABLE_ATTR_DURATION = "duration"
18 
19 MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)