mirror of
https://github.com/home-assistant/core.git
synced 2025-07-01 18:37:13 +00:00

* Migrate sabnzbd to use data update coordinator * Add to coveragerc * Setup coordinator after migration * Use kB/s as UoM * Add suggested
18 lines
339 B
Python
18 lines
339 B
Python
"""Constants for the Sabnzbd component."""
|
|
|
|
DOMAIN = "sabnzbd"
|
|
DATA_SABNZBD = "sabnzbd"
|
|
|
|
ATTR_SPEED = "speed"
|
|
ATTR_API_KEY = "api_key"
|
|
|
|
DEFAULT_HOST = "localhost"
|
|
DEFAULT_NAME = "SABnzbd"
|
|
DEFAULT_PORT = 8080
|
|
DEFAULT_SPEED_LIMIT = "100"
|
|
DEFAULT_SSL = False
|
|
|
|
SERVICE_PAUSE = "pause"
|
|
SERVICE_RESUME = "resume"
|
|
SERVICE_SET_SPEED = "set_speed"
|