From ceddb2bbbacbcfd2353afb22686e18b1ba5c8817 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Fri, 20 Sep 2019 04:16:50 -0400 Subject: [PATCH 1/2] Add action_topic and action_template parameters to configuration --- source/_integrations/climate.mqtt.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_integrations/climate.mqtt.markdown b/source/_integrations/climate.mqtt.markdown index 98194bb63b9..b489ebf96c0 100644 --- a/source/_integrations/climate.mqtt.markdown +++ b/source/_integrations/climate.mqtt.markdown @@ -121,6 +121,14 @@ modes: required: false default: ['auto', 'off', 'cool', 'heat', 'dry', 'fan_only'] type: list +action_topic: + description: The MQTT topic on which to listen for the current action state of the HVAC. Expects `idle`, `cool`, or `heat`. + required: false + type: string +action_template: + description: A template to render the value received on the `action_topic` with. + requred: false + type: template temperature_command_topic: description: The MQTT topic to publish commands to change the target temperature. required: false From a7617f5c5aceff8aaffafc4fbc3e8d57f0d08935 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Fri, 20 Sep 2019 04:49:43 -0400 Subject: [PATCH 2/2] updated possible action_topic values to be more accurate --- source/_integrations/climate.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/climate.mqtt.markdown b/source/_integrations/climate.mqtt.markdown index b489ebf96c0..13695adc756 100644 --- a/source/_integrations/climate.mqtt.markdown +++ b/source/_integrations/climate.mqtt.markdown @@ -122,7 +122,7 @@ modes: default: ['auto', 'off', 'cool', 'heat', 'dry', 'fan_only'] type: list action_topic: - description: The MQTT topic on which to listen for the current action state of the HVAC. Expects `idle`, `cool`, or `heat`. + description: The MQTT topic on which to listen for the current action state of the HVAC. Expects `idle`, `cooling`, `heating`, `drying`, or `off`. required: false type: string action_template: