mirror of
https://github.com/home-assistant/core.git
synced 2026-07-01 03:36:05 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
12 lines
230 B
Python
12 lines
230 B
Python
"""Constants for the IoTaWatt integration."""
|
|
|
|
import json
|
|
|
|
import httpx
|
|
|
|
DOMAIN = "iotawatt"
|
|
VOLT_AMPERE_REACTIVE = "VAR"
|
|
VOLT_AMPERE_REACTIVE_HOURS = "VARh"
|
|
|
|
CONNECTION_ERRORS = (KeyError, json.JSONDecodeError, httpx.HTTPError)
|