Skip to content

Commit

Permalink
Fix homekit_controller beta connectivity issues (home-assistant#32810)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k authored and frenck committed Mar 14, 2020
1 parent 5ec76af commit 6affb27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/homekit_controller/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "HomeKit Controller",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
"requirements": ["aiohomekit[IP]==0.2.29"],
"requirements": ["aiohomekit[IP]==0.2.29.1"],
"dependencies": [],
"zeroconf": ["_hap._tcp.local."],
"codeowners": ["@Jc2k"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def state(self):

homekit_state = self.service.value(CharacteristicsTypes.CURRENT_MEDIA_STATE)
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

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ aioftp==0.12.0
aioharmony==0.1.13

# homeassistant.components.homekit_controller
aiohomekit[IP]==0.2.29
aiohomekit[IP]==0.2.29.1

# homeassistant.components.emulated_hue
# homeassistant.components.http
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ aioesphomeapi==2.6.1
aiofreepybox==0.0.8

# homeassistant.components.homekit_controller
aiohomekit[IP]==0.2.29
aiohomekit[IP]==0.2.29.1

# homeassistant.components.emulated_hue
# homeassistant.components.http
Expand Down

0 comments on commit 6affb27

Please sign in to comment.