mirror of https://github.com/home-assistant/core
17 lines
416 B
Python
17 lines
416 B
Python
"""Constants for the P1 Monitor integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "p1_monitor"
|
|
LOGGER = logging.getLogger(__package__)
|
|
SCAN_INTERVAL = timedelta(seconds=5)
|
|
|
|
SERVICE_SMARTMETER: Final = "smartmeter"
|
|
SERVICE_WATERMETER: Final = "watermeter"
|
|
SERVICE_PHASES: Final = "phases"
|
|
SERVICE_SETTINGS: Final = "settings"
|