Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Season integration."""
2 
3 from typing import Final
4 
5 from homeassistant.const import Platform
6 
7 DOMAIN: Final = "season"
8 PLATFORMS: Final = [Platform.SENSOR]
9 
10 DEFAULT_NAME: Final = "Season"
11 
12 TYPE_ASTRONOMICAL: Final = "astronomical"
13 TYPE_METEOROLOGICAL: Final = "meteorological"
14 
15 VALID_TYPES: Final = [TYPE_ASTRONOMICAL, TYPE_METEOROLOGICAL]