Fix - Mqqt position topic docs more clear (#7562)

* Changes position_topic and state_topic info to be more clear for users.
Also deleted get_position_topic expression as it wasn't clear enough.
Using only position_topic expression from now.

* ✏️ Tweak
This commit is contained in:
Pawel 2019-01-15 00:02:17 +01:00 committed by Franck Nijhof
parent 5903a371aa
commit 5d853c6293

View File

@ -67,7 +67,7 @@ payload_stop:
type: string
default: STOP
state_topic:
description: The MQTT topic subscribed to receive cover state messages. Use only if not using get_position_topic. State topic can only read open/close state. Cannot read position state.
description: The MQTT topic subscribed to receive cover state messages. Use only if not using `position_topic`. State topic can only read open/close state. Cannot read position state. If `position_topic` is set `state_topic` is ignored.
required: false
type: string
state_open:
@ -81,7 +81,7 @@ state_closed:
type: string
default: closed
position_topic:
description: The MQTT topic subscribed to receive cover position messages. Always in favor if used together with state_topic.
description: The MQTT topic subscribed to receive cover position messages. If `position_topic` is set `state_topic` is ignored.
required: false
type: integer
position_open: