Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.motion_blinds.gateway.ConnectMotionGateway Class Reference

Public Member Functions

def __init__ (self, hass, multicast=None, interface=None)
 
def async_check_interface (self, host, key)
 
def async_connect_gateway (self, host, key)
 
def async_get_interfaces (self)
 
def check_interface (self)
 
def gateway_device (self)
 
def update_gateway (self)
 

Private Attributes

 _gateway_device
 
 _hass
 
 _interface
 
 _multicast
 

Detailed Description

Class to async connect to a Motion Gateway.

Definition at line 23 of file gateway.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.__init__ (   self,
  hass,
  multicast = None,
  interface = None 
)
Initialize the entity.

Definition at line 26 of file gateway.py.

Member Function Documentation

◆ async_check_interface()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.async_check_interface (   self,
  host,
  key 
)
Connect to the Motion Gateway.

Definition at line 99 of file gateway.py.

◆ async_connect_gateway()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.async_connect_gateway (   self,
  host,
  key 
)
Connect to the Motion Gateway.

Definition at line 45 of file gateway.py.

◆ async_get_interfaces()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.async_get_interfaces (   self)
Get list of interface to use.

Definition at line 72 of file gateway.py.

◆ check_interface()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.check_interface (   self)
Check if the current interface supports multicast.

Definition at line 66 of file gateway.py.

◆ gateway_device()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.gateway_device (   self)
Return the class containing all connections to the gateway.

Definition at line 34 of file gateway.py.

◆ update_gateway()

def homeassistant.components.motion_blinds.gateway.ConnectMotionGateway.update_gateway (   self)
Update all information of the gateway.

Definition at line 38 of file gateway.py.

Member Data Documentation

◆ _gateway_device

homeassistant.components.motion_blinds.gateway.ConnectMotionGateway._gateway_device
private

Definition at line 30 of file gateway.py.

◆ _hass

homeassistant.components.motion_blinds.gateway.ConnectMotionGateway._hass
private

Definition at line 28 of file gateway.py.

◆ _interface

homeassistant.components.motion_blinds.gateway.ConnectMotionGateway._interface
private

Definition at line 31 of file gateway.py.

◆ _multicast

homeassistant.components.motion_blinds.gateway.ConnectMotionGateway._multicast
private

Definition at line 29 of file gateway.py.


The documentation for this class was generated from the following file: