Mqtt fan docs update for new state reset attributes (#17820)

* Mqtt fan docs upate for new state reset attributes

* Better description of new payload_reset_attributes
This commit is contained in:
Jan Bouwhuis 2021-05-20 11:43:51 +02:00 committed by GitHub
parent af1a3741f7
commit 53fb699dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -189,6 +189,8 @@ Supported abbreviations:
'pl_strt': 'payload_start', 'pl_strt': 'payload_start',
'pl_stpa': 'payload_start_pause', 'pl_stpa': 'payload_start_pause',
'pl_ret': 'payload_return_to_base', 'pl_ret': 'payload_return_to_base',
'pl_rst_pct': 'payload_reset_percentage',
'pl_rst_pr_mode': 'payload_reset_preset_mode',
'pl_toff': 'payload_turn_off', 'pl_toff': 'payload_turn_off',
'pl_ton': 'payload_turn_on', 'pl_ton': 'payload_turn_on',
'pl_unlk': 'payload_unlock', 'pl_unlk': 'payload_unlock',

View File

@ -169,6 +169,16 @@ payload_oscillation_on:
required: false required: false
type: string type: string
default: oscillate_on default: oscillate_on
payload_reset_percentage:
description: A special payload that resets the `percentage` state attribute to `None` when received at the `percentage_state_topic`.
required: false
type: string
default: 'None'
payload_reset_preset_mode:
description: A special payload that resets the `preset_mode` state attribute to `None` when received at the `preset_mode_state_topic`.
required: false
type: string
default: 'None'
percentage_command_template: percentage_command_template:
description: Defines a [template](/docs/configuration/templating/#processing-incoming-data) to generate the payload to send to `percentage_command_topic`. description: Defines a [template](/docs/configuration/templating/#processing-incoming-data) to generate the payload to send to `percentage_command_topic`.
required: false required: false