Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the P1 Monitor integration."""
2 
3 from __future__ import annotations
4 
5 from datetime import timedelta
6 import logging
7 from typing import Final
8 
9 DOMAIN: Final = "p1_monitor"
10 LOGGER = logging.getLogger(__package__)
11 SCAN_INTERVAL = timedelta(seconds=5)
12 
13 SERVICE_SMARTMETER: Final = "smartmeter"
14 SERVICE_WATERMETER: Final = "watermeter"
15 SERVICE_PHASES: Final = "phases"
16 SERVICE_SETTINGS: Final = "settings"