mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Fix MQTT fan template types (#27118)
This commit is contained in:
parent
e76e3e4a2b
commit
782918aeae
@ -175,7 +175,7 @@ oscillation_state_topic:
|
|||||||
oscillation_value_template:
|
oscillation_value_template:
|
||||||
description: "Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract a value from the oscillation."
|
description: "Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract a value from the oscillation."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
payload_available:
|
payload_available:
|
||||||
description: The payload that represents the available state.
|
description: The payload that represents the available state.
|
||||||
required: false
|
required: false
|
||||||
@ -231,7 +231,7 @@ percentage_state_topic:
|
|||||||
percentage_value_template:
|
percentage_value_template:
|
||||||
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract the `percentage` value from the payload received on `percentage_state_topic`.
|
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract the `percentage` value from the payload received on `percentage_state_topic`.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
preset_mode_command_template:
|
preset_mode_command_template:
|
||||||
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to generate the payload to send to `preset_mode_command_topic`.
|
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to generate the payload to send to `preset_mode_command_topic`.
|
||||||
required: false
|
required: false
|
||||||
@ -247,7 +247,7 @@ preset_mode_state_topic:
|
|||||||
preset_mode_value_template:
|
preset_mode_value_template:
|
||||||
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract the `preset_mode` value from the payload received on `preset_mode_state_topic`.
|
description: Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract the `preset_mode` value from the payload received on `preset_mode_state_topic`.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
preset_modes:
|
preset_modes:
|
||||||
description: List of preset modes this fan is capable of running at. Common examples include `auto`, `smart`, `whoosh`, `eco` and `breeze`.
|
description: List of preset modes this fan is capable of running at. Common examples include `auto`, `smart`, `whoosh`, `eco` and `breeze`.
|
||||||
required: false
|
required: false
|
||||||
@ -280,7 +280,7 @@ state_topic:
|
|||||||
state_value_template:
|
state_value_template:
|
||||||
description: "Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract a value from the state."
|
description: "Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract a value from the state."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: template
|
||||||
unique_id:
|
unique_id:
|
||||||
description: An ID that uniquely identifies this fan. If two fans have the same unique ID, Home Assistant will raise an exception.
|
description: An ID that uniquely identifies this fan. If two fans have the same unique ID, Home Assistant will raise an exception.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user