Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.steamist.discovery Namespace Reference

Functions

Device30303|None async_discover_device (HomeAssistant hass, str host)
 
list[Device30303] async_discover_devices (HomeAssistant hass, int timeout, str|None address=None)
 
Device30303|None async_find_discovery_by_ip (list[Device30303] discoveries, str host)
 
Device30303|None async_get_discovery (HomeAssistant hass, str host)
 
bool async_is_steamist_device (Device30303 device)
 
None async_trigger_discovery (HomeAssistant hass, list[Device30303] discovered_devices)
 
bool async_update_entry_from_discovery (HomeAssistant hass, config_entries.ConfigEntry entry, Device30303 device)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string MODEL_450_HOSTNAME_PREFIX = "MY450-"
 
string MODEL_550_HOSTNAME_PREFIX = "MY550-"
 

Detailed Description

The Steamist integration discovery.

Function Documentation

◆ async_discover_device()

Device30303 | None homeassistant.components.steamist.discovery.async_discover_device ( HomeAssistant  hass,
str  host 
)
Direct discovery to a single ip instead of broadcast.

Definition at line 107 of file discovery.py.

◆ async_discover_devices()

list[Device30303] homeassistant.components.steamist.discovery.async_discover_devices ( HomeAssistant  hass,
int  timeout,
str | None   address = None 
)
Discover devices.

Definition at line 57 of file discovery.py.

◆ async_find_discovery_by_ip()

Device30303 | None homeassistant.components.steamist.discovery.async_find_discovery_by_ip ( list[Device30303]  discoveries,
str   host 
)
Search a list of discoveries for one with a matching ip.

Definition at line 97 of file discovery.py.

◆ async_get_discovery()

Device30303 | None homeassistant.components.steamist.discovery.async_get_discovery ( HomeAssistant  hass,
str  host 
)
Check if a device was already discovered via a broadcast discovery.

Definition at line 115 of file discovery.py.

◆ async_is_steamist_device()

bool homeassistant.components.steamist.discovery.async_is_steamist_device ( Device30303  device)
Check if a 30303 discovery is a steamist device.

Definition at line 28 of file discovery.py.

◆ async_trigger_discovery()

None homeassistant.components.steamist.discovery.async_trigger_discovery ( HomeAssistant  hass,
list[Device30303]  discovered_devices 
)
Trigger config flows for discovered devices.

Definition at line 122 of file discovery.py.

◆ async_update_entry_from_discovery()

bool homeassistant.components.steamist.discovery.async_update_entry_from_discovery ( HomeAssistant  hass,
config_entries.ConfigEntry  entry,
Device30303  device 
)
Update a config entry from a discovery.

Definition at line 36 of file discovery.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.steamist.discovery._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file discovery.py.

◆ MODEL_450_HOSTNAME_PREFIX

string homeassistant.components.steamist.discovery.MODEL_450_HOSTNAME_PREFIX = "MY450-"

Definition at line 23 of file discovery.py.

◆ MODEL_550_HOSTNAME_PREFIX

string homeassistant.components.steamist.discovery.MODEL_550_HOSTNAME_PREFIX = "MY550-"

Definition at line 24 of file discovery.py.