From 3d441dffad80a323936fac7313bf62ac5864253c Mon Sep 17 00:00:00 2001 From: Austin Drummond Date: Fri, 12 Apr 2019 07:26:52 -0400 Subject: [PATCH] Update HAP-python to 2.5.0 (#23031) --- homeassistant/components/homekit/__init__.py | 2 +- homeassistant/components/homekit/const.py | 2 +- homeassistant/components/homekit/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 01979f03b9a..9d7de58be4b 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,7 +26,7 @@ from .const import ( from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.4.2'] +REQUIREMENTS = ['HAP-python==2.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/const.py b/homeassistant/components/homekit/const.py index 4a96f0add8d..0a2b7a0fd5d 100644 --- a/homeassistant/components/homekit/const.py +++ b/homeassistant/components/homekit/const.py @@ -110,8 +110,8 @@ CHAR_MODEL = 'Model' CHAR_MOTION_DETECTED = 'MotionDetected' CHAR_NAME = 'Name' CHAR_OCCUPANCY_DETECTED = 'OccupancyDetected' -CHAR_OUTLET_IN_USE = 'OutletInUse' CHAR_ON = 'On' +CHAR_OUTLET_IN_USE = 'OutletInUse' CHAR_POSITION_STATE = 'PositionState' CHAR_ROTATION_DIRECTION = 'RotationDirection' CHAR_ROTATION_SPEED = 'RotationSpeed' diff --git a/homeassistant/components/homekit/manifest.json b/homeassistant/components/homekit/manifest.json index fd781f206d1..e4aabfeb6cd 100644 --- a/homeassistant/components/homekit/manifest.json +++ b/homeassistant/components/homekit/manifest.json @@ -3,7 +3,7 @@ "name": "Homekit", "documentation": "https://www.home-assistant.io/components/homekit", "requirements": [ - "HAP-python==2.4.2" + "HAP-python==2.5.0" ], "dependencies": [], "codeowners": [ diff --git a/requirements_all.txt b/requirements_all.txt index 633a7150897..ee7503811c5 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -33,7 +33,7 @@ Adafruit-SHT31==1.0.2 # Adafruit_BBIO==1.0.0 # homeassistant.components.homekit -HAP-python==2.4.2 +HAP-python==2.5.0 # homeassistant.components.mastodon Mastodon.py==1.3.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2abf5a43775..2977c426060 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -20,7 +20,7 @@ requests_mock==1.5.2 # homeassistant.components.homekit -HAP-python==2.4.2 +HAP-python==2.5.0 # homeassistant.components.mobile_app # homeassistant.components.owntracks