mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Add templating to MQTT Cover tilt_status_topic (#9578)
This commit is contained in:
parent
68deb29523
commit
31d387bb89
@ -144,6 +144,10 @@ tilt_status_topic:
|
|||||||
description: The MQTT topic subscribed to receive tilt status update values.
|
description: The MQTT topic subscribed to receive tilt status update values.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
tilt_status_template:
|
||||||
|
description: "Defines a [template](/topics/templating/) that can be used to extract the payload for the `tilt_status_topic` topic. "
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
tilt_min:
|
tilt_min:
|
||||||
description: The minimum tilt value.
|
description: The minimum tilt value.
|
||||||
required: false
|
required: false
|
||||||
@ -306,6 +310,7 @@ cover:
|
|||||||
value_template: '{{ value.x }}'
|
value_template: '{{ value.x }}'
|
||||||
tilt_command_topic: 'home-assistant/cover/tilt'
|
tilt_command_topic: 'home-assistant/cover/tilt'
|
||||||
tilt_status_topic: 'home-assistant/cover/tilt-state'
|
tilt_status_topic: 'home-assistant/cover/tilt-state'
|
||||||
|
tilt_status_template: '{{ value_json["PWM"]["PWM1"] }}'
|
||||||
tilt_min: 0
|
tilt_min: 0
|
||||||
tilt_max: 180
|
tilt_max: 180
|
||||||
tilt_closed_value: 70
|
tilt_closed_value: 70
|
||||||
|
Loading…
x
Reference in New Issue
Block a user