2021-08-20 06:45:04 +00:00
|
|
|
"""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"
|
2022-08-18 20:35:28 +00:00
|
|
|
SERVICE_WATERMETER: Final = "watermeter"
|
2021-08-20 06:45:04 +00:00
|
|
|
SERVICE_PHASES: Final = "phases"
|
|
|
|
SERVICE_SETTINGS: Final = "settings"
|