1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-03 22:24:02 +01:00
Files
core/homeassistant/components/iotawatt/const.py
T
2021-09-09 15:32:43 +02:00

15 lines
299 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"
ATTR_LAST_UPDATE = "last_update"
CONNECTION_ERRORS = (KeyError, json.JSONDecodeError, httpx.HTTPError)