Home Assistant Unofficial Reference 2024.12.1
gateway.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.mysensors.gateway
 

Functions

None homeassistant.components.mysensors.gateway._discover_persistent_devices (HomeAssistant hass, ConfigEntry entry, BaseAsyncGateway gateway)
 
BaseAsyncGateway|None homeassistant.components.mysensors.gateway._get_gateway (HomeAssistant hass, ConfGatewayType gateway_type, str device, str version, Callable[[Message], None] event_callback, str|None persistence_file=None, int|None baud_rate=None, int|None tcp_port=None, str|None topic_in_prefix=None, str|None topic_out_prefix=None, bool retain=False, bool persistence=True)
 
Callable[[Message], None] homeassistant.components.mysensors.gateway._gw_callback_factory (HomeAssistant hass, GatewayId gateway_id)
 
None homeassistant.components.mysensors.gateway._gw_start (HomeAssistant hass, ConfigEntry entry, BaseAsyncGateway gateway)
 
None homeassistant.components.mysensors.gateway.finish_setup (HomeAssistant hass, ConfigEntry entry, BaseAsyncGateway gateway)
 
None homeassistant.components.mysensors.gateway.gw_stop (HomeAssistant hass, ConfigEntry entry, BaseAsyncGateway gateway)
 
str homeassistant.components.mysensors.gateway.is_serial_port (str value)
 
str homeassistant.components.mysensors.gateway.is_socket_address (str value)
 
BaseAsyncGateway|None homeassistant.components.mysensors.gateway.setup_gateway (HomeAssistant hass, ConfigEntry entry)
 
bool homeassistant.components.mysensors.gateway.try_connect (HomeAssistant hass, ConfGatewayType gateway_type, dict[str, Any] user_input)
 

Variables

 homeassistant.components.mysensors.gateway._LOGGER = logging.getLogger(__name__)
 
float homeassistant.components.mysensors.gateway.GATEWAY_READY_TIMEOUT = 20.0
 
string homeassistant.components.mysensors.gateway.MQTT_COMPONENT = "mqtt"