1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-30 03:06:10 +01:00
Files
core/homeassistant/components/opensensemap/const.py
T
AlCalzone 0b687df9f8 Migrate opensensemap to UI configuration (#171066)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Joostlek <joostlek@outlook.com>
2026-05-26 23:22:57 +02:00

17 lines
403 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"
ERROR_CANNOT_CONNECT = "cannot_connect"
ERROR_INVALID_STATION = "invalid_station"
KNOWN_IMPORT_ABORT_REASONS = (ERROR_CANNOT_CONNECT, ERROR_INVALID_STATION)