Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.harmony.util Namespace Reference

Functions

def find_best_name_for_remote (dict data, HarmonyAPI harmony)
 
def find_unique_id_for_remote (HarmonyAPI harmony)
 
HarmonyAPI|None get_harmony_client_if_available (str ip_address)
 

Detailed Description

The Logitech Harmony Hub integration utils.

Function Documentation

◆ find_best_name_for_remote()

def homeassistant.components.harmony.util.find_best_name_for_remote ( dict  data,
HarmonyAPI  harmony 
)
Find the best name from config or fallback to the remote.

Definition at line 18 of file util.py.

◆ find_unique_id_for_remote()

def homeassistant.components.harmony.util.find_unique_id_for_remote ( HarmonyAPI  harmony)
Find the unique id for both websocket and xmpp clients.

Definition at line 9 of file util.py.

◆ get_harmony_client_if_available()

HarmonyAPI | None homeassistant.components.harmony.util.get_harmony_client_if_available ( str  ip_address)
Connect to a harmony hub and fetch info.

Definition at line 29 of file util.py.