Bump HAP-python to 4.2.1 (#55804)

This commit is contained in:
J. Nick Koston 2021-09-11 18:58:19 -07:00 committed by GitHub
parent 73260c5b88
commit 459bc55e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"name": "HomeKit",
"documentation": "https://www.home-assistant.io/integrations/homekit",
"requirements": [
"HAP-python==4.1.0",
"HAP-python==4.2.1",
"fnvhash==0.1.0",
"PyQRCode==1.2.1",
"base36==0.1.1"

View File

@ -219,7 +219,7 @@ class Fan(HomeAccessory):
# the rotation speed is mapped to 1 otherwise the update is ignored
# in order to avoid this incorrect behavior.
if percentage == 0 and state == STATE_ON:
percentage = 1
percentage = max(1, self.char_speed.properties[PROP_MIN_STEP])
if percentage is not None:
self.char_speed.set_value(percentage)

View File

@ -14,7 +14,7 @@ Adafruit-SHT31==1.0.2
# Adafruit_BBIO==1.1.1
# homeassistant.components.homekit
HAP-python==4.1.0
HAP-python==4.2.1
# homeassistant.components.mastodon
Mastodon.py==1.5.1

View File

@ -7,7 +7,7 @@
AEMET-OpenData==0.2.1
# homeassistant.components.homekit
HAP-python==4.1.0
HAP-python==4.2.1
# homeassistant.components.flick_electric
PyFlick==0.0.2