add swing horizontal mode in mqtt climate docs (#37710)

* add swing horizontal mode in docs

* Update climate.mqtt.markdown

sorted alphabetically
This commit is contained in:
mamrai1 2025-02-26 16:49:09 +02:00 committed by GitHub
parent 0badcba8e8
commit b97fcffdab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -311,6 +311,27 @@ retain:
required: false required: false
type: boolean type: boolean
default: false default: false
swing_horizontal_mode_command_template:
description: A template to render the value sent to the `swing_horizontal_mode_command_topic` with.
required: false
type: template
swing_horizontal_mode_command_topic:
description: The MQTT topic to publish commands to change the swing horizontal mode.
required: false
type: string
swing_horizontal_mode_state_template:
description: A template to render the value received on the `swing_horizontal_mode_state_topic` with.
required: false
type: template
swing_horizontal_mode_state_topic:
description: The MQTT topic to subscribe for changes of the HVAC swing horizontal mode. If this is not set, the swing horizontal mode works in optimistic mode (see below).
required: false
type: string
swing_horizontal_modes:
description: A list of supported swing horizontal modes.
required: false
default: ['on', 'off']
type: list
swing_mode_command_template: swing_mode_command_template:
description: A template to render the value sent to the `swing_mode_command_topic` with. description: A template to render the value sent to the `swing_mode_command_topic` with.
required: false required: false
@ -461,6 +482,9 @@ mqtt:
- "off" - "off"
- "cool" - "cool"
- "fan_only" - "fan_only"
swing_horizontal_modes:
- "on"
- "off"
swing_modes: swing_modes:
- "on" - "on"
- "off" - "off"
@ -478,6 +502,7 @@ mqtt:
mode_command_template: "{{ value if value=="off" else "on" }}" mode_command_template: "{{ value if value=="off" else "on" }}"
temperature_command_topic: "study/ac/temperature/set" temperature_command_topic: "study/ac/temperature/set"
fan_mode_command_topic: "study/ac/fan/set" fan_mode_command_topic: "study/ac/fan/set"
swing_horizontal_mode_command_topic: "study/ac/swingH/set"
swing_mode_command_topic: "study/ac/swing/set" swing_mode_command_topic: "study/ac/swing/set"
precision: 1.0 precision: 1.0
``` ```