1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-20 10:50:06 +00:00
Files
core/homeassistant/components/iotawatt/const.py
2024-03-08 08:52:48 -05:00

14 lines
266 B
Python

"""Constants for the IoTaWatt integration."""
from __future__ import annotations
import json
import httpx
DOMAIN = "iotawatt"
VOLT_AMPERE_REACTIVE = "VAR"
VOLT_AMPERE_REACTIVE_HOURS = "VARh"
CONNECTION_ERRORS = (KeyError, json.JSONDecodeError, httpx.HTTPError)