Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the easyEnergy 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 = "easyenergy"
10 LOGGER = logging.getLogger(__package__)
11 SCAN_INTERVAL = timedelta(minutes=10)
12 THRESHOLD_HOUR: Final = 14
13 
14 SERVICE_TYPE_DEVICE_NAMES = {
15  "today_energy_usage": "Energy market price - Usage",
16  "today_energy_return": "Energy market price - Return",
17  "today_gas": "Gas market price",
18 }