Add EnergyZero integration (#83886)
This commit is contained in:
parent
38f183a683
commit
7d54620f34
20 changed files with 1029 additions and 0 deletions
16
homeassistant/components/energyzero/const.py
Normal file
16
homeassistant/components/energyzero/const.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""Constants for the EnergyZero integration."""
|
||||
from __future__ import annotations
|
||||
|
||||
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",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue