hass-core/tests/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
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
conftest.py Add default config if not there (#43321) 2020-11-25 15:10:04 +01:00
test_blueprint.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_init.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00
test_reproduce_state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00