mirror of
https://github.com/home-assistant/core.git
synced 2026-07-03 20:56:06 +01:00
e056c7d78c
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
458 B
Python
18 lines
458 B
Python
"""Constants for the openSenseMap integration."""
|
|
|
|
import logging
|
|
|
|
DOMAIN = "opensensemap"
|
|
|
|
LOGGER = logging.getLogger(__name__)
|
|
|
|
CONF_STATION_ID = "station_id"
|
|
|
|
INTEGRATION_TITLE = "openSenseMap"
|
|
DEPRECATED_YAML_BREAKS_IN_VERSION = "2026.12.0"
|
|
AIR_QUALITY_DEPRECATION_BREAKS_IN_VERSION = "2027.1.0"
|
|
|
|
ERROR_CANNOT_CONNECT = "cannot_connect"
|
|
ERROR_INVALID_STATION = "invalid_station"
|
|
KNOWN_IMPORT_ABORT_REASONS = (ERROR_CANNOT_CONNECT, ERROR_INVALID_STATION)
|