mirror of https://github.com/home-assistant/core
Update aioharmony to include support for XMPP connectivity to Hub (#36485)
* Update aioharmony to 0.2.3 * Update aioharmony to 0.2.4
This commit is contained in:
parent
af4fb03230
commit
7a2820ded9
|
@ -2,7 +2,7 @@
|
|||
"domain": "harmony",
|
||||
"name": "Logitech Harmony Hub",
|
||||
"documentation": "https://www.home-assistant.io/integrations/harmony",
|
||||
"requirements": ["aioharmony==0.1.13"],
|
||||
"requirements": ["aioharmony==0.2.4"],
|
||||
"codeowners": ["@ehendrix23", "@bramkragten", "@bdraco"],
|
||||
"ssdp": [
|
||||
{
|
||||
|
|
|
@ -9,11 +9,10 @@ from .const import DOMAIN
|
|||
|
||||
def find_unique_id_for_remote(harmony: HarmonyAPI):
|
||||
"""Find the unique id for both websocket and xmpp clients."""
|
||||
websocket_unique_id = harmony.hub_config.info.get("activeRemoteId")
|
||||
if websocket_unique_id is not None:
|
||||
return str(websocket_unique_id)
|
||||
if harmony.hub_id is not None:
|
||||
return str(harmony.hub_id)
|
||||
|
||||
# fallback to the xmpp unique id if websocket is not available
|
||||
# fallback timeStampHash if Hub ID is not available
|
||||
return harmony.config["global"]["timeStampHash"].split(";")[-1]
|
||||
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ aioftp==0.12.0
|
|||
aioguardian==0.2.3
|
||||
|
||||
# homeassistant.components.harmony
|
||||
aioharmony==0.1.13
|
||||
aioharmony==0.2.4
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit[IP]==0.2.38
|
||||
|
|
|
@ -85,7 +85,7 @@ aiofreepybox==0.0.8
|
|||
aioguardian==0.2.3
|
||||
|
||||
# homeassistant.components.harmony
|
||||
aioharmony==0.1.13
|
||||
aioharmony==0.2.4
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit[IP]==0.2.38
|
||||
|
|
Loading…
Reference in New Issue