core/homeassistant/components/automation
Erik Montnemery 047f16772f
Support templating MQTT triggers (#45614)
* Add support for limited templates (no HASS access)

* Pass variables to automation triggers

* Support templates in MQTT triggers

* Spelling

* Handle trigger referenced by variables

* Raise on unsupported function in limited templates

* Validate MQTT trigger schema in MQTT device trigger

* Add trigger_variables to automation config schema

* Don't print stacktrace when setting up trigger throws

* Make pylint happy

* Add trigger_variables to variables

* Add debug prints, document limited template

* Add tests

* Validate MQTT trigger topic early when possible

* Improve valid_subscribe_topic_template
2021-02-08 10:50:38 +01:00
..
blueprints Blueprint: descriptions + descriptive errors (#43899) 2020-12-03 16:44:18 +01:00
translations
__init__.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
config.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
const.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
helpers.py Add support for multiple event triggers in automation (#43097) 2020-11-12 11:58:28 +01:00
logbook.py
manifest.json
reproduce_state.py
services.yaml
strings.json