hass-core/tests/components/mqtt
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
conftest.py Stub light profiles (#42232) 2020-10-23 16:28:21 +02:00
test_alarm_control_panel.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_binary_sensor.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_camera.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_climate.py Added command templates for the mqtt climate component. (#44976) 2021-01-26 16:12:33 +01:00
test_common.py Add availability_mode "all" and "any" to MQTT entities (#44987) 2021-01-11 16:04:22 +01:00
test_config_flow.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_cover.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_tracker.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_tracker_discovery.py Make DeviceRegistry.async_get_device connections arg optional (#44897) 2021-01-07 13:49:45 +01:00
test_device_trigger.py Make DeviceRegistry.async_get_device connections arg optional (#44897) 2021-01-07 13:49:45 +01:00
test_discovery.py Subscribe only to valid MQTT discovery topics (#45456) 2021-01-23 08:51:25 -05:00
test_fan.py Remove the ability for mqtt to set speeds that are not in the speed_list (#45445) 2021-01-23 06:24:06 +01:00
test_init.py Move MQTT entity helpers to separate file (#44838) 2021-01-09 00:47:17 +01:00
test_legacy_vacuum.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_light.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_light_json.py Improve MQTT JSON light to allow non-ambiguous states (#45522) 2021-02-02 09:36:00 +01:00
test_light_template.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_lock.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_number.py Add MQTT Number (non optimistic) (#44883) 2021-01-08 23:43:14 +01:00
test_scene.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_sensor.py Add availability_mode "all" and "any" to MQTT entities (#44987) 2021-01-11 16:04:22 +01:00
test_state_vacuum.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_subscription.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_switch.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_tag.py Make DeviceRegistry.async_get_device connections arg optional (#44897) 2021-01-07 13:49:45 +01:00
test_trigger.py Support templating MQTT triggers (#45614) 2021-02-08 10:50:38 +01:00