From 5db64b555ad6b7b03b3242df0f0c7a293e1d4d68 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sat, 23 Oct 2021 10:17:58 +0200 Subject: [PATCH] Add list expose (#948) * Initial * variant 2 * u * more variants * Update exposes.md * Update exposes.md --- docs/information/exposes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/information/exposes.md b/docs/information/exposes.md index c2f31be85e14..097994a93ed6 100644 --- a/docs/information/exposes.md +++ b/docs/information/exposes.md @@ -66,6 +66,12 @@ Example: } ``` +### List +Indicates a device exposes a list of values. Currently the only possible `item_type` is `number`. + +Examples: +- `{"type":"list","name":"no_occupancy_since","property":"no_occupancy_since","access":1,"item_type":"number"}` + ## Specific ### Light