Bump pyairvisual to 2022.11.1 (#81556)
parent
087ede959d
commit
7124cedd7a
|
@ -7,13 +7,9 @@ from math import ceil
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from pyairvisual import CloudAPI, NodeSamba
|
from pyairvisual import CloudAPI, NodeSamba
|
||||||
from pyairvisual.errors import (
|
from pyairvisual.cloud_api import InvalidKeyError, KeyExpiredError, UnauthorizedError
|
||||||
AirVisualError,
|
from pyairvisual.errors import AirVisualError
|
||||||
InvalidKeyError,
|
from pyairvisual.node import NodeProError
|
||||||
KeyExpiredError,
|
|
||||||
NodeProError,
|
|
||||||
UnauthorizedError,
|
|
||||||
)
|
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
|
|
|
@ -6,14 +6,14 @@ from collections.abc import Mapping
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from pyairvisual import CloudAPI, NodeSamba
|
from pyairvisual import CloudAPI, NodeSamba
|
||||||
from pyairvisual.errors import (
|
from pyairvisual.cloud_api import (
|
||||||
AirVisualError,
|
|
||||||
InvalidKeyError,
|
InvalidKeyError,
|
||||||
KeyExpiredError,
|
KeyExpiredError,
|
||||||
NodeProError,
|
|
||||||
NotFoundError,
|
NotFoundError,
|
||||||
UnauthorizedError,
|
UnauthorizedError,
|
||||||
)
|
)
|
||||||
|
from pyairvisual.errors import AirVisualError
|
||||||
|
from pyairvisual.node import NodeProError
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "AirVisual",
|
"name": "AirVisual",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/airvisual",
|
"documentation": "https://www.home-assistant.io/integrations/airvisual",
|
||||||
"requirements": ["pyairvisual==2022.07.0"],
|
"requirements": ["pyairvisual==2022.11.1"],
|
||||||
"codeowners": ["@bachya"],
|
"codeowners": ["@bachya"],
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["pyairvisual", "pysmb"],
|
"loggers": ["pyairvisual", "pysmb"],
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ pyaftership==21.11.0
|
||||||
pyairnow==1.1.0
|
pyairnow==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.airvisual
|
# homeassistant.components.airvisual
|
||||||
pyairvisual==2022.07.0
|
pyairvisual==2022.11.1
|
||||||
|
|
||||||
# homeassistant.components.almond
|
# homeassistant.components.almond
|
||||||
pyalmond==0.0.2
|
pyalmond==0.0.2
|
||||||
|
|
|
@ -1021,7 +1021,7 @@ pyaehw4a1==0.3.9
|
||||||
pyairnow==1.1.0
|
pyairnow==1.1.0
|
||||||
|
|
||||||
# homeassistant.components.airvisual
|
# homeassistant.components.airvisual
|
||||||
pyairvisual==2022.07.0
|
pyairvisual==2022.11.1
|
||||||
|
|
||||||
# homeassistant.components.almond
|
# homeassistant.components.almond
|
||||||
pyalmond==0.0.2
|
pyalmond==0.0.2
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
"""Define tests for the AirVisual config flow."""
|
"""Define tests for the AirVisual config flow."""
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
from pyairvisual.errors import (
|
from pyairvisual.cloud_api import (
|
||||||
AirVisualError,
|
|
||||||
InvalidKeyError,
|
InvalidKeyError,
|
||||||
KeyExpiredError,
|
KeyExpiredError,
|
||||||
NodeProError,
|
|
||||||
NotFoundError,
|
NotFoundError,
|
||||||
UnauthorizedError,
|
UnauthorizedError,
|
||||||
)
|
)
|
||||||
|
from pyairvisual.errors import AirVisualError
|
||||||
|
from pyairvisual.node import NodeProError
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant import data_entry_flow
|
from homeassistant import data_entry_flow
|
||||||
|
|
Loading…
Reference in New Issue