* Add support for AirVisual Node Pro units * Fixed tests * Updated dependencies * Guard looks cleaner * Limit options update to geography-based entries * Docstring * Use proper precision in display_temp * Add availability for AirVisualNodeProSensor * Updated translations * Samba stuff in play * Wrap up Samba * Fix tests * Remove unnecessary updates * Normalize labels * Bump requirements * Don't include configuration.yaml support for this new functionality * Fix tests * Code review * Code review * Update coveragerc * Code review
17 lines
356 B
Python
17 lines
356 B
Python
"""Define AirVisual constants."""
|
|
import logging
|
|
|
|
DOMAIN = "airvisual"
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
INTEGRATION_TYPE_GEOGRAPHY = "Geographical Location"
|
|
INTEGRATION_TYPE_NODE_PRO = "AirVisual Node/Pro"
|
|
|
|
CONF_CITY = "city"
|
|
CONF_COUNTRY = "country"
|
|
CONF_GEOGRAPHIES = "geographies"
|
|
|
|
DATA_CLIENT = "client"
|
|
|
|
TOPIC_UPDATE = f"airvisual_update_{0}"
|