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
..
2020-10-23 16:28:21 +02:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00