Home Assistant Unofficial Reference 2024.12.1
webhook.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.mobile_app.webhook
 

Functions

template.Template homeassistant.components.mobile_app.webhook._cached_template (str template_str, HomeAssistant hass)
 
str homeassistant.components.mobile_app.webhook._extract_sensor_unique_id (str webhook_id, str unique_id)
 
str homeassistant.components.mobile_app.webhook._gen_unique_id (str webhook_id, str sensor_unique_id)
 
dict[str, Any] homeassistant.components.mobile_app.webhook._validate_state_class_sensor (dict[str, Any] value)
 
Response homeassistant.components.mobile_app.webhook.handle_webhook (HomeAssistant hass, str webhook_id, Request request)
 
def homeassistant.components.mobile_app.webhook.validate_schema (schema)
 
Response homeassistant.components.mobile_app.webhook.webhook_call_service (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_conversation_process (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_enable_encryption (HomeAssistant hass, ConfigEntry config_entry, Any data)
 
Response homeassistant.components.mobile_app.webhook.webhook_fire_event (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_get_config (HomeAssistant hass, ConfigEntry config_entry, Any data)
 
Response homeassistant.components.mobile_app.webhook.webhook_get_zones (HomeAssistant hass, ConfigEntry config_entry, Any data)
 
Response homeassistant.components.mobile_app.webhook.webhook_register_sensor (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_render_template (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_scan_tag (HomeAssistant hass, ConfigEntry config_entry, dict[str, str] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_stream_camera (HomeAssistant hass, ConfigEntry config_entry, dict[str, str] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_update_location (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_update_registration (HomeAssistant hass, ConfigEntry config_entry, dict[str, Any] data)
 
Response homeassistant.components.mobile_app.webhook.webhook_update_sensor_states (HomeAssistant hass, ConfigEntry config_entry, list[dict[str, Any]] data)
 

Variables

 homeassistant.components.mobile_app.webhook._LOGGER = logging.getLogger(__name__)
 
int homeassistant.components.mobile_app.webhook.DELAY_SAVE = 10
 
 homeassistant.components.mobile_app.webhook.SENSOR_SCHEMA_FULL
 
tuple homeassistant.components.mobile_app.webhook.SENSOR_TYPES = (ATTR_SENSOR_TYPE_BINARY_SENSOR, ATTR_SENSOR_TYPE_SENSOR)
 
 homeassistant.components.mobile_app.webhook.WEBHOOK_PAYLOAD_SCHEMA