Files
core/homeassistant/components/essent/const.py
T
epenetGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
d766aae436 Remove import annotations from components (#169536)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-04-30 21:14:48 +02:00

28 lines
634 B
Python

"""Constants for the Essent integration."""
from datetime import timedelta
from enum import StrEnum
from typing import Final
DOMAIN: Final = "essent"
UPDATE_INTERVAL: Final = timedelta(hours=1)
ATTRIBUTION: Final = "Data provided by Essent"
class EnergyType(StrEnum):
"""Supported energy types for Essent pricing."""
ELECTRICITY = "electricity"
GAS = "gas"
class PriceGroup(StrEnum):
"""Price group types as provided in tariff groups.
VAT is not emitted as a price group; use tariff.total_amount_vat for VAT.
"""
MARKET_PRICE = "MARKET_PRICE"
PURCHASING_FEE = "PURCHASING_FEE"
TAX = "TAX"