state_topic is required in the config. (#9277)

* state_topic is required in the config.

* Update mqtt_room.markdown
This commit is contained in:
Conrad Juhl Andersen 2019-04-28 23:39:15 +02:00 committed by Klaas Schoute
parent ab784b41cb
commit 5ae391513e

View File

@ -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."