mirror of
https://github.com/home-assistant/core.git
synced 2026-05-31 12:44:04 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
16 lines
368 B
Python
16 lines
368 B
Python
"""Constants for the EnergyZero integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
from typing import Final
|
|
|
|
DOMAIN: Final = "energyzero"
|
|
LOGGER = logging.getLogger(__package__)
|
|
SCAN_INTERVAL = timedelta(minutes=10)
|
|
THRESHOLD_HOUR: Final = 14
|
|
|
|
SERVICE_TYPE_DEVICE_NAMES = {
|
|
"today_energy": "Energy market price",
|
|
"today_gas": "Gas market price",
|
|
}
|