mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Revert "Change POWER_VOLT_AMPERE_REACTIVE to UnitOfReactivePower (#117153)"
This reverts commit 3e53cc175f.
14 lines
266 B
Python
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)
|