mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
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",
|
"domain": "harmony",
|
||||||
"name": "Logitech Harmony Hub",
|
"name": "Logitech Harmony Hub",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/harmony",
|
"documentation": "https://www.home-assistant.io/integrations/harmony",
|
||||||
"requirements": ["aioharmony==0.1.13"],
|
"requirements": ["aioharmony==0.2.4"],
|
||||||
"codeowners": ["@ehendrix23", "@bramkragten", "@bdraco"],
|
"codeowners": ["@ehendrix23", "@bramkragten", "@bdraco"],
|
||||||
"ssdp": [
|
"ssdp": [
|
||||||
{
|
{
|
||||||
|
@ -9,11 +9,10 @@ from .const import DOMAIN
|
|||||||
|
|
||||||
def find_unique_id_for_remote(harmony: HarmonyAPI):
|
def find_unique_id_for_remote(harmony: HarmonyAPI):
|
||||||
"""Find the unique id for both websocket and xmpp clients."""
|
"""Find the unique id for both websocket and xmpp clients."""
|
||||||
websocket_unique_id = harmony.hub_config.info.get("activeRemoteId")
|
if harmony.hub_id is not None:
|
||||||
if websocket_unique_id is not None:
|
return str(harmony.hub_id)
|
||||||
return str(websocket_unique_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]
|
return harmony.config["global"]["timeStampHash"].split(";")[-1]
|
||||||
|
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ aioftp==0.12.0
|
|||||||
aioguardian==0.2.3
|
aioguardian==0.2.3
|
||||||
|
|
||||||
# homeassistant.components.harmony
|
# homeassistant.components.harmony
|
||||||
aioharmony==0.1.13
|
aioharmony==0.2.4
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit[IP]==0.2.38
|
aiohomekit[IP]==0.2.38
|
||||||
|
@ -85,7 +85,7 @@ aiofreepybox==0.0.8
|
|||||||
aioguardian==0.2.3
|
aioguardian==0.2.3
|
||||||
|
|
||||||
# homeassistant.components.harmony
|
# homeassistant.components.harmony
|
||||||
aioharmony==0.1.13
|
aioharmony==0.2.4
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
aiohomekit[IP]==0.2.38
|
aiohomekit[IP]==0.2.38
|
||||||
|
Loading…
x
Reference in New Issue
Block a user