Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for NZBGet."""
2 
3 DOMAIN = "nzbget"
4 
5 # Attributes
6 ATTR_SPEED = "speed"
7 
8 # Data
9 DATA_COORDINATOR = "coordinator"
10 DATA_UNDO_UPDATE_LISTENER = "undo_update_listener"
11 
12 # Defaults
13 DEFAULT_NAME = "NZBGet"
14 DEFAULT_PORT = 6789
15 DEFAULT_SPEED_LIMIT = 1000 # 1 Megabyte/Sec
16 DEFAULT_SSL = False
17 DEFAULT_VERIFY_SSL = False
18 
19 # Services
20 SERVICE_PAUSE = "pause"
21 SERVICE_RESUME = "resume"
22 SERVICE_SET_SPEED = "set_speed"