Introduce const file in LaMetric (#66929)
This commit is contained in:
parent
94a0f1c7b3
commit
ddedaf6f70
3 changed files with 42 additions and 34 deletions
16
homeassistant/components/lametric/const.py
Normal file
16
homeassistant/components/lametric/const.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""Constants for the LaMetric integration."""
|
||||
|
||||
import logging
|
||||
from typing import Final
|
||||
|
||||
DOMAIN: Final = "lametric"
|
||||
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
AVAILABLE_PRIORITIES: Final = ["info", "warning", "critical"]
|
||||
AVAILABLE_ICON_TYPES: Final = ["none", "info", "alert"]
|
||||
|
||||
CONF_CYCLES: Final = "cycles"
|
||||
CONF_LIFETIME: Final = "lifetime"
|
||||
CONF_PRIORITY: Final = "priority"
|
||||
CONF_ICON_TYPE: Final = "icon_type"
|
Loading…
Add table
Add a link
Reference in a new issue