Migrate AirVisual Pro devices to the airvisual_pro domain (#83882)

* Migration AirVisual Pro devices to the `airvisual_pro` domain

* Fix tests

* Remove airvisual_pro dependency

* Add repairs item

* Only fire repairs issue if automations exist

* Fix tests
This commit is contained in:
Aaron Bach 2022-12-19 10:48:36 -07:00 committed by GitHub
parent 7c13e7cdfd
commit 09ae02fd56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 192 additions and 25 deletions

View file

@ -64,7 +64,6 @@ PICK_INTEGRATION_TYPE_SCHEMA = vol.Schema(
[
INTEGRATION_TYPE_GEOGRAPHY_COORDS,
INTEGRATION_TYPE_GEOGRAPHY_NAME,
INTEGRATION_TYPE_NODE_PRO,
]
)
}
@ -81,7 +80,7 @@ OPTIONS_FLOW = {
class AirVisualFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
"""Handle an AirVisual config flow."""
VERSION = 2
VERSION = 3
def __init__(self) -> None:
"""Initialize the config flow."""