Add EnergyZero integration (#83886)

This commit is contained in:
Klaas Schoute 2023-01-03 22:28:16 +01:00 committed by GitHub
parent 38f183a683
commit 7d54620f34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1029 additions and 0 deletions

View 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",
}