Fix homekit_controller beta connectivity issues (#32810)

This commit is contained in:
Jc2k 2020-03-14 19:43:09 +00:00 committed by Franck Nijhof
parent 5ec76af875
commit 6affb27711
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"name": "HomeKit Controller", "name": "HomeKit Controller",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/homekit_controller", "documentation": "https://www.home-assistant.io/integrations/homekit_controller",
"requirements": ["aiohomekit[IP]==0.2.29"], "requirements": ["aiohomekit[IP]==0.2.29.1"],
"dependencies": [], "dependencies": [],
"zeroconf": ["_hap._tcp.local."], "zeroconf": ["_hap._tcp.local."],
"codeowners": ["@Jc2k"] "codeowners": ["@Jc2k"]

View File

@ -154,7 +154,7 @@ class HomeKitTelevision(HomeKitEntity, MediaPlayerDevice):
homekit_state = self.service.value(CharacteristicsTypes.CURRENT_MEDIA_STATE) homekit_state = self.service.value(CharacteristicsTypes.CURRENT_MEDIA_STATE)
if homekit_state is not None: if homekit_state is not None:
return HK_TO_HA_STATE[homekit_state] return HK_TO_HA_STATE.get(homekit_state, STATE_OK)
return STATE_OK return STATE_OK

View File

@ -163,7 +163,7 @@ aioftp==0.12.0
aioharmony==0.1.13 aioharmony==0.1.13
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
aiohomekit[IP]==0.2.29 aiohomekit[IP]==0.2.29.1
# homeassistant.components.emulated_hue # homeassistant.components.emulated_hue
# homeassistant.components.http # homeassistant.components.http

View File

@ -65,7 +65,7 @@ aioesphomeapi==2.6.1
aiofreepybox==0.0.8 aiofreepybox==0.0.8
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
aiohomekit[IP]==0.2.29 aiohomekit[IP]==0.2.29.1
# homeassistant.components.emulated_hue # homeassistant.components.emulated_hue
# homeassistant.components.http # homeassistant.components.http