1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-08 23:34:22 +01:00
Files
core/homeassistant/components/weatherflow_cloud/const.py
T

32 lines
858 B
Python

"""Constants for the WeatherflowCloud integration."""
import logging
DOMAIN = "weatherflow_cloud"
LOGGER = logging.getLogger(__package__)
STATE_MAP = {
"clear-day": "sunny",
"clear-night": "clear-night",
"cloudy": "cloudy",
"foggy": "fog",
"partly-cloudy-day": "partlycloudy",
"partly-cloudy-night": "partlycloudy",
"possibly-rainy-day": "rainy",
"possibly-rainy-night": "rainy",
"possibly-sleet-day": "snowy-rainy",
"possibly-sleet-night": "snowy-rainy",
"possibly-snow-day": "snowy",
"possibly-snow-night": "snowy",
"possibly-thunderstorm-day": "lightning-rainy",
"possibly-thunderstorm-night": "lightning-rainy",
"rainy": "rainy",
"sleet": "snowy-rainy",
"snow": "snowy",
"thunderstorm": "lightning",
"windy": "windy",
}
WEBSOCKET_API = "Websocket API"
REST_API = "REST API"