Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the IoTaWatt integration."""
2 
3 from __future__ import annotations
4 
5 import json
6 
7 import httpx
8 
9 DOMAIN = "iotawatt"
10 VOLT_AMPERE_REACTIVE = "VAR"
11 VOLT_AMPERE_REACTIVE_HOURS = "VARh"
12 
13 CONNECTION_ERRORS = (KeyError, json.JSONDecodeError, httpx.HTTPError)