From df56b0acffea39e1e58a851957571f1a621f44c8 Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Sat, 23 Dec 2023 18:46:11 +0300 Subject: [PATCH] Update services.yaml --- .../yandex_station/services.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/custom_components/yandex_station/services.yaml b/custom_components/yandex_station/services.yaml index 3201856..1754846 100644 --- a/custom_components/yandex_station/services.yaml +++ b/custom_components/yandex_station/services.yaml @@ -4,25 +4,52 @@ reload: send_command: description: Send command to Yandex.Station. + target: + entity: + integration: yandex_station + domain: media_player fields: command: description: "Command: sendText, rewind, play, stop, prev, next, playMusic, setVolume" example: 'sendText' + selector: + text: text: description: For sendText command example: Повтори за мной "Тестовое уведомление" + selector: + text: position: description: For rewind command example: 120 + selector: + number: + min: 0 + max: 3600 + mode: box id: description: For playMusic command example: '2' + selector: + text: type: description: For playMusic command (artist, track, album or playlist) example: 'artist' + select: + options: + - artist + - track + - album + - playlist volume: description: For setVolume command example: 0.5 + selector: + number: + min: 0 + max: 100 + step: 0.1 + mode: box mute: name: Mute humidifier