Home Assistant Unofficial Reference 2024.12.1
device_trigger.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mqtt.device_trigger.MqttDeviceTrigger
 
class  homeassistant.components.mqtt.device_trigger.Trigger
 
class  homeassistant.components.mqtt.device_trigger.TriggerInstance
 

Namespaces

 homeassistant.components.mqtt.device_trigger
 

Functions

CALLBACK_TYPE homeassistant.components.mqtt.device_trigger.async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info)
 
list[dict[str, str]] homeassistant.components.mqtt.device_trigger.async_get_triggers (HomeAssistant hass, str device_id)
 
None homeassistant.components.mqtt.device_trigger.async_removed_from_device (HomeAssistant hass, str device_id)
 
None homeassistant.components.mqtt.device_trigger.async_setup_trigger (HomeAssistant hass, ConfigType config, ConfigEntry config_entry, DiscoveryInfoType discovery_data)
 

Variables

 homeassistant.components.mqtt.device_trigger._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.mqtt.device_trigger.CONF_AUTOMATION_TYPE = "automation_type"
 
string homeassistant.components.mqtt.device_trigger.CONF_DISCOVERY_ID = "discovery_id"
 
string homeassistant.components.mqtt.device_trigger.CONF_SUBTYPE = "subtype"
 
string homeassistant.components.mqtt.device_trigger.DEFAULT_ENCODING = "utf-8"
 
string homeassistant.components.mqtt.device_trigger.DEVICE = "device"
 
string homeassistant.components.mqtt.device_trigger.LOG_NAME = "Device trigger"
 
dictionary homeassistant.components.mqtt.device_trigger.MQTT_TRIGGER_BASE
 
 homeassistant.components.mqtt.device_trigger.TRIGGER_DISCOVERY_SCHEMA
 
 homeassistant.components.mqtt.device_trigger.TRIGGER_SCHEMA