Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lg_netcast.helpers Namespace Reference

Classes

class  LGNetCastDetailDiscoveryError
 
class  NetcastDetails
 

Functions

NetcastDetails async_discover_netcast_details (HomeAssistant hass, LgNetCastClient client)
 
DeviceEntry async_get_device_entry_by_device_id (HomeAssistant hass, str device_id)
 

Detailed Description

Helper functions for LG Netcast TV.

Function Documentation

◆ async_discover_netcast_details()

NetcastDetails homeassistant.components.lg_netcast.helpers.async_discover_netcast_details ( HomeAssistant  hass,
LgNetCastClient   client 
)
Discover UUID and Model Name from Netcast Tv.

Definition at line 28 of file helpers.py.

◆ async_get_device_entry_by_device_id()

DeviceEntry homeassistant.components.lg_netcast.helpers.async_get_device_entry_by_device_id ( HomeAssistant  hass,
str   device_id 
)
Get Device Entry from Device Registry by device ID.

Raises ValueError if device ID is invalid.

Definition at line 48 of file helpers.py.