diff --git a/custom_components/xiaomi_miio_airpurifier/fan.py b/custom_components/xiaomi_miio_airpurifier/fan.py index c0f4f90..8956ea1 100644 --- a/custom_components/xiaomi_miio_airpurifier/fan.py +++ b/custom_components/xiaomi_miio_airpurifier/fan.py @@ -25,39 +25,39 @@ FanMiot, FanP5, ) -from miio.airfresh import ( # pylint: disable=import-error, import-error +from miio.integrations.airpurifier.zhimi.airfresh import ( # pylint: disable=import-error, import-error LedBrightness as AirfreshLedBrightness, OperationMode as AirfreshOperationMode, ) -from miio.airfresh_t2017 import ( # pylint: disable=import-error, import-error +from miio.integrations.airpurifier.dmaker.airfresh_t2017 import ( # pylint: disable=import-error, import-error DisplayOrientation as AirfreshT2017DisplayOrientation, OperationMode as AirfreshT2017OperationMode, PtcLevel as AirfreshT2017PtcLevel, ) -from miio.airhumidifier import ( # pylint: disable=import-error, import-error +from miio.integrations.humidifier.zhimi.airhumidifier import ( # pylint: disable=import-error, import-error LedBrightness as AirhumidifierLedBrightness, OperationMode as AirhumidifierOperationMode, ) -from miio.airhumidifier_jsq import ( # pylint: disable=import-error, import-error +from miio.integrations.humidifier.shuii.airhumidifier_jsq import ( # pylint: disable=import-error, import-error LedBrightness as AirhumidifierJsqLedBrightness, OperationMode as AirhumidifierJsqOperationMode, ) -from miio.airhumidifier_miot import ( # pylint: disable=import-error, import-error +from miio.integrations.humidifier.zhimi.airhumidifier_miot import ( # pylint: disable=import-error, import-error LedBrightness as AirhumidifierMiotLedBrightness, OperationMode as AirhumidifierMiotOperationMode, PressedButton as AirhumidifierPressedButton, ) -from miio.airhumidifier_mjjsq import ( # pylint: disable=import-error, import-error +from miio.integrations.humidifier.deerma.airhumidifier_mjjsq import ( # pylint: disable=import-error, import-error OperationMode as AirhumidifierMjjsqOperationMode, ) -from miio.airpurifier import ( # pylint: disable=import-error, import-error +from miio.integrations.airpurifier.zhimi.airpurifier import ( # pylint: disable=import-error, import-error LedBrightness as AirpurifierLedBrightness, OperationMode as AirpurifierOperationMode, ) -from miio.airpurifier_airdog import ( # pylint: disable=import-error, import-error +from miio.integrations.airpurifier.airdog.airpurifier_airdog import ( # pylint: disable=import-error, import-error OperationMode as AirDogOperationMode, ) -from miio.airpurifier_miot import ( # pylint: disable=import-error, import-error +from miio.integrations.airpurifier.zhimi.airpurifier_miot import ( # pylint: disable=import-error, import-error LedBrightness as AirpurifierMiotLedBrightness, OperationMode as AirpurifierMiotOperationMode, ) diff --git a/custom_components/xiaomi_miio_airpurifier/manifest.json b/custom_components/xiaomi_miio_airpurifier/manifest.json index 5cda2b7..cdc38a6 100644 --- a/custom_components/xiaomi_miio_airpurifier/manifest.json +++ b/custom_components/xiaomi_miio_airpurifier/manifest.json @@ -1,14 +1,14 @@ { "domain": "xiaomi_miio_airpurifier", "name": "Xiaomi Mi Air Purifier, Air Humidifier, Air Fresh and Pedestal Fan Integration", - "version": "2022.4.0.1", + "version": "2022.8.0.0", "iot_class": "local_polling", "config_flow": false, "documentation": "https://github.com/syssi/xiaomi_airpurifier", "issue_tracker": "https://github.com/syssi/xiaomi_airpurifier/issues", "requirements": [ "construct==2.10.56", - "python-miio>=0.5.11" + "python-miio>=0.5.12" ], "dependencies": [], "codeowners": [ diff --git a/hacs.json b/hacs.json index c907df9..65182d7 100644 --- a/hacs.json +++ b/hacs.json @@ -2,6 +2,5 @@ "name": "Xiaomi Mi Air Purifier, Air Humidifier, Air Fresh and Pedestal Fan Integration", "content_in_root": false, "render_readme": true, - "iot_class": "local_polling", - "homeassistant": "2021.5.1" + "homeassistant": "2022.8.0" }