Skip to content

Commit

Permalink
Add Home Assistant 2022.8.0 compatibility (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Aug 4, 2022
1 parent e7ffdec commit 60dcbf3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions custom_components/xiaomi_miio_airpurifier/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
4 changes: 2 additions & 2 deletions custom_components/xiaomi_miio_airpurifier/manifest.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "Xiaomi Mi Air Purifier, Air Humidifier, Air Fresh and Pedestal Fan Integration",
"content_in_root": false,
"render_readme": true,
"homeassistant": "2021.5.1"
"homeassistant": "2022.8.0"
}

0 comments on commit 60dcbf3

Please sign in to comment.