From 60509e245132c1f72a4f1340fca4fc9d65149293 Mon Sep 17 00:00:00 2001 From: hasscasts <36940037+hasscasts@users.noreply.github.com> Date: Sun, 1 Sep 2019 20:34:08 +0100 Subject: [PATCH] Quick typo "id" -> "is" (#10268) * Quick typo "id" -> "is" I believe this is a typo and so thought I'd give it a quick fix * :pencil2: Fix spelling --- source/_docs/mqtt/discovery.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/mqtt/discovery.markdown b/source/_docs/mqtt/discovery.markdown index 70fca524001..0ed1c2f870c 100644 --- a/source/_docs/mqtt/discovery.markdown +++ b/source/_docs/mqtt/discovery.markdown @@ -60,7 +60,7 @@ The discovery topic need to follow a specific format: The payload must be a JSON dictionary and will be checked like an entry in your `configuration.yaml` file if a new device is added. This means that missing variables will be filled with the platform's default values. All configuration variables which are *required* must be present in the initial payload send to `/config`. -If the integration is `alarm_control_panel`, `binary_sensor`, or `sensor` and the mandatory `state_topic` is not present in the payload, `state_topic` will be automatically set to //[/]/state. The automatic setting of `state_topic` id depracated and may be removed in a future version of Home Assistant. +If the integration is `alarm_control_panel`, `binary_sensor`, or `sensor` and the mandatory `state_topic` is not present in the payload, `state_topic` will be automatically set to //[/]/state. The automatic setting of `state_topic` is deprecated and may be removed in a future version of Home Assistant. An empty payload will cause a previously discovered device to be deleted.