Skip to content

Commit

Permalink
Add Home Assistant 2022.8.0 compatibility (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Aug 10, 2022
1 parent db8d979 commit 10b33bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions custom_components/xiaomi_miio_fan/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from miio import (
Device,
DeviceException,
Fan, # pylint: disable=import-error
Fan,
Fan1C,
FanLeshow,
FanMiot,
Expand All @@ -44,12 +44,12 @@
from miio.fan_common import FanException
from miio.fan_common import (
LedBrightness as FanLedBrightness,
) # pylint: disable=import-error, import-error
)
from miio.fan_common import MoveDirection as FanMoveDirection
from miio.fan_common import OperationMode as FanOperationMode
from miio.integrations.fan.leshow.fan_leshow import (
OperationMode as FanLeshowOperationMode,
) # pylint: disable=import-error, import-error
)
from miio.miot_device import DeviceStatus, MiotDevice

_LOGGER = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions custom_components/xiaomi_miio_fan/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"domain": "xiaomi_miio_fan",
"name": "Xiaomi Mi Smart Pedestal Fan",
"version": "2022.7.0.0",
"version": "2022.8.0.0",
"iot_class": "local_polling",
"documentation": "https://github.com/syssi/xiaomi_fan",
"issue_tracker": "https://github.com/syssi/xiaomi_fan/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 Smart Pedestal Fan Integration",
"content_in_root": false,
"render_readme": true,
"homeassistant": "2021.5.1"
"homeassistant": "2022.8.0"
}

0 comments on commit 10b33bc

Please sign in to comment.