From d6a86ee1c98018d20b5888e02a86b0c51f545daf Mon Sep 17 00:00:00 2001 From: emontnemery Date: Sun, 27 Jan 2019 20:58:07 +0100 Subject: [PATCH] Document json_attributes_topic for MQTT Alarm (#8300) * Document json_attributes_topic * Update alarm_control_panel.mqtt.markdown * Update alarm_control_panel.mqtt.markdown --- source/_components/alarm_control_panel.mqtt.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/alarm_control_panel.mqtt.markdown b/source/_components/alarm_control_panel.mqtt.markdown index 244268a501f..f563e6eeaeb 100644 --- a/source/_components/alarm_control_panel.mqtt.markdown +++ b/source/_components/alarm_control_panel.mqtt.markdown @@ -93,6 +93,10 @@ payload_not_available: required: false type: string default: offline +json_attributes_topic: + description: The MQTT topic subscribed to receive a JSON dictionary payload and then set as sensor attributes. Usage example can be found in [MQTT sensor](/components/sensor.mqtt/#json-attributes-topic-configuration) documentation. + required: false + type: string device: description: 'Information about the device this alarm panel is a part of to tie it into the [device registry](https://developers.home-assistant.io/docs/en/device_registry_index.html). Only works through [MQTT discovery](/docs/mqtt/discovery/) and when [`unique_id`](#unique_id) is set.' required: false