From 9e78edf16a54511ac6da74913f467d717e3661bd Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 24 Nov 2021 20:06:29 +0100 Subject: [PATCH] Allow MQTT selects to have a single or no options (#20421) --- source/_integrations/select.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/select.mqtt.markdown b/source/_integrations/select.mqtt.markdown index 966d3f80f9d..c654929b711 100644 --- a/source/_integrations/select.mqtt.markdown +++ b/source/_integrations/select.mqtt.markdown @@ -139,7 +139,7 @@ optimistic: type: boolean default: "`true` if no `state_topic` defined, else `false`." options: - description: List of options that can be selected. + description: List of options that can be selected. An empty list or a list with a single item is allowed. required: true type: list qos: