mirror of
https://github.com/home-assistant/core.git
synced 2025-11-05 00:49:37 +00:00
* Allow more than one AirVisual config entry with the same API key * Add tests * Correctly pop geography * Code review * Code review
14 lines
238 B
Python
14 lines
238 B
Python
"""Define AirVisual constants."""
|
|
from datetime import timedelta
|
|
|
|
DOMAIN = "airvisual"
|
|
|
|
CONF_CITY = "city"
|
|
CONF_COUNTRY = "country"
|
|
|
|
DATA_CLIENT = "client"
|
|
|
|
DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
|
|
|
|
TOPIC_UPDATE = f"{DOMAIN}_update"
|