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 [ci skip] Translation update 2020-11-11 00:10:27 +00:00
__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 Tune logbook performance to accomodate recent changes (#39348) 2020-08-30 09:20:31 +02:00
manifest.json Add initial blueprint support (#42469) 2020-11-02 15:00:13 +01:00
reproduce_state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00
services.yaml Allow automation to be turned off without stopping actions (#38436) 2020-08-01 21:31:47 -05:00
strings.json Import state strings (#34451) 2020-04-20 16:25:35 -07:00