mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add mqtt water_heater turn on/off support (#28319)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
e87f8653a5
commit
d76dac440a
@ -158,7 +158,7 @@ mode_command_template:
|
|||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
mode_command_topic:
|
mode_command_topic:
|
||||||
description: The MQTT topic to publish commands to change the Water Heater operation mode. Use with `mode_command_template` if you only want to publish the power state.
|
description: The MQTT topic to publish commands to change the Water Heater operation mode.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
mode_state_template:
|
mode_state_template:
|
||||||
@ -208,6 +208,14 @@ payload_on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: "ON"
|
default: "ON"
|
||||||
|
power_command_template:
|
||||||
|
description: A template to render the value sent to the `power_command_topic` with. The `value` parameter is the payload set for `payload_on` or `payload_off`.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
|
power_command_topic:
|
||||||
|
description: The MQTT topic to publish commands to change the water heater power state. Sends the payload configured with `payload_on` if the water heater is turned on via the `water_heater.turn_on`, or the payload configured with `payload_off` if the water heater is turned off via the `water_heater.turn_off` service. Note that `optimistic` mode is not supported through `water_heater.turn_on` and `water_heater.turn_off` services. When called, these services will send a power command to the device but will not optimistically update the state of the water heater. The water heater device should report its state back via `mode_state_topic`.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
precision:
|
precision:
|
||||||
description: The desired precision for this device. Can be used to match your actual water heater's precision. Supported values are `0.1`, `0.5` and `1.0`.
|
description: The desired precision for this device. Can be used to match your actual water heater's precision. Supported values are `0.1`, `0.5` and `1.0`.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user