From f305661dd7761fcdea7028180a265f2c7a865395 Mon Sep 17 00:00:00 2001 From: Jan Rieger Date: Thu, 14 Sep 2023 12:13:19 +0200 Subject: [PATCH] Change service `set_location` to use number input selectors (#100360) --- .../components/homeassistant/services.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/homeassistant/services.yaml b/homeassistant/components/homeassistant/services.yaml index 09a280133f2..2b5fd3fc686 100644 --- a/homeassistant/components/homeassistant/services.yaml +++ b/homeassistant/components/homeassistant/services.yaml @@ -7,17 +7,27 @@ set_location: required: true example: 32.87336 selector: - text: + number: + mode: box + min: -90 + max: 90 + step: any longitude: required: true example: 117.22743 selector: - text: + number: + mode: box + min: -180 + max: 180 + step: any elevation: required: false example: 120 selector: - text: + number: + mode: box + step: any stop: toggle: