core/tests/components/mqtt
radovanbauer baab9b9a81
Added command templates for the mqtt climate component. (#44976)
This allows integrating with devices which require more complex payloads to be posted when updating their values.

Old feature request: https://github.com/home-assistant/core/issues/11496
There are numerous posts requesting this feature, example: https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68https://community.home-assistant.io/t/need-help-with-value-template-for-mqtt-hvac/73395/68

Command templates have been added for the following:
- fan_mode
- hold
- mode
- swing_mode
- temperature
- temperature high/low

This doesn't add templates for aux, away mode, power since these already accept custom payload_on/off (although they all share the same payload). It should be straightforward to add templates for them as well if needed.
2021-01-26 16:12:33 +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 Drop asynctest (#44746) 2021-01-01 22:31:56 +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 Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00