Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the PVOutput integration."""
2 
3 from __future__ import annotations
4 
5 from datetime import timedelta
6 import logging
7 from typing import Final
8 
9 from homeassistant.const import Platform
10 
11 DOMAIN: Final = "pvoutput"
12 PLATFORMS = [Platform.SENSOR]
13 
14 LOGGER = logging.getLogger(__package__)
15 SCAN_INTERVAL = timedelta(minutes=2)
16 
17 
18 CONF_SYSTEM_ID = "system_id"