From 5d853c6293314db31dd465072efb36570dc12e81 Mon Sep 17 00:00:00 2001 From: Pawel Date: Tue, 15 Jan 2019 00:02:17 +0100 Subject: [PATCH] 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. * :pencil2: Tweak --- source/_components/cover.mqtt.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/cover.mqtt.markdown b/source/_components/cover.mqtt.markdown index b593f60ffc9..cd58e125425 100644 --- a/source/_components/cover.mqtt.markdown +++ b/source/_components/cover.mqtt.markdown @@ -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: