mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add humidifier action for mqtt humidifier (#27995)
This commit is contained in:
parent
e38ef8cf02
commit
429ba0bf12
@ -31,6 +31,16 @@ mqtt:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
|
action_template:
|
||||||
|
description: A template to render the value received on the `action_topic` with.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
|
action_topic:
|
||||||
|
description: >-
|
||||||
|
The MQTT topic to subscribe for changes of the current action.
|
||||||
|
Valid values: `off`, `humidifying`, `drying`, `idle`
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
availability:
|
availability:
|
||||||
description: A list of MQTT topics subscribed to receive availability (online/offline) updates. Must not be used together with `availability_topic`.
|
description: A list of MQTT topics subscribed to receive availability (online/offline) updates. Must not be used together with `availability_topic`.
|
||||||
required: false
|
required: false
|
||||||
@ -298,6 +308,7 @@ mqtt:
|
|||||||
- name: "Bedroom humidifier"
|
- name: "Bedroom humidifier"
|
||||||
device_class: "humidifier"
|
device_class: "humidifier"
|
||||||
state_topic: "bedroom_humidifier/on/state"
|
state_topic: "bedroom_humidifier/on/state"
|
||||||
|
action_topic: "bedroom_humidifier/action"
|
||||||
command_topic: "bedroom_humidifier/on/set"
|
command_topic: "bedroom_humidifier/on/set"
|
||||||
current_humidity_topic: "bedroom_humidifier/humidity/current"
|
current_humidity_topic: "bedroom_humidifier/humidity/current"
|
||||||
target_humidity_command_topic: "bedroom_humidifier/humidity/set"
|
target_humidity_command_topic: "bedroom_humidifier/humidity/set"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user