From 5ae391513ead5bffe906e877534d939634ea72d4 Mon Sep 17 00:00:00 2001 From: Conrad Juhl Andersen Date: Sun, 28 Apr 2019 23:39:15 +0200 Subject: [PATCH] state_topic is required in the config. (#9277) * state_topic is required in the config. * Update mqtt_room.markdown --- source/_components/mqtt_room.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/_components/mqtt_room.markdown b/source/_components/mqtt_room.markdown index fe18eb216b4..3ee3c59c805 100644 --- a/source/_components/mqtt_room.markdown +++ b/source/_components/mqtt_room.markdown @@ -40,8 +40,7 @@ name: type: string state_topic: description: The topic that contains all subtopics for the rooms. - required: false - default: room_presence + required: true type: string timeout: description: "The time in seconds after which a room presence state is considered old. An example: device1 is reported at scanner1 with a distance of 1. No further updates are sent from scanner1. After 5 seconds scanner2 reports device1 with a distance of 2. The old location info is discarded in favor of the new scanner2 information as the timeout has passed."