Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dlna_dmr.config_flow Namespace Reference

Classes

class  ConnectError
 
class  DlnaDmrFlowHandler
 
class  DlnaDmrOptionsFlowHandler
 

Functions

str|None _async_get_mac_address (HomeAssistant hass, str host)
 
bool _is_dmr_device (ssdp.SsdpServiceInfo discovery_info)
 
bool _is_ignored_device (ssdp.SsdpServiceInfo discovery_info)
 

Variables

 FlowInput
 
 LOGGER = logging.getLogger(__name__)
 

Detailed Description

Config flow for DLNA DMR.

Function Documentation

◆ _async_get_mac_address()

str | None homeassistant.components.dlna_dmr.config_flow._async_get_mac_address ( HomeAssistant  hass,
str  host 
)
private
Get mac address from host name, IPv4 address, or IPv6 address.

Definition at line 461 of file config_flow.py.

◆ _is_dmr_device()

bool homeassistant.components.dlna_dmr.config_flow._is_dmr_device ( ssdp.SsdpServiceInfo  discovery_info)
private
Determine if discovery is a complete DLNA DMR device.

Use the discovery_info instead of DmrDevice.is_profile_device to avoid
contacting the device again.

Definition at line 435 of file config_flow.py.

◆ _is_ignored_device()

bool homeassistant.components.dlna_dmr.config_flow._is_ignored_device ( ssdp.SsdpServiceInfo  discovery_info)
private
Return True if this device should be ignored for discovery.

These devices are supported better by other integrations, so don't bug
the user about them. The user can add them if desired by via the user config
flow, which will list all discovered but unconfigured devices.

Definition at line 389 of file config_flow.py.

Variable Documentation

◆ FlowInput

homeassistant.components.dlna_dmr.config_flow.FlowInput

Definition at line 44 of file config_flow.py.

◆ LOGGER

homeassistant.components.dlna_dmr.config_flow.LOGGER = logging.getLogger(__name__)

Definition at line 42 of file config_flow.py.