From 40e2f83a3bfb00a7c5b22a6d0c7e1585b5247654 Mon Sep 17 00:00:00 2001 From: Alex X Date: Mon, 15 Jan 2024 07:49:57 +0300 Subject: [PATCH] Update services.yaml for github actions --- .../yandex_station/services.yaml | 52 +++---------------- 1 file changed, 7 insertions(+), 45 deletions(-) diff --git a/custom_components/yandex_station/services.yaml b/custom_components/yandex_station/services.yaml index fda402b..06f7cd3 100644 --- a/custom_components/yandex_station/services.yaml +++ b/custom_components/yandex_station/services.yaml @@ -3,6 +3,7 @@ reload: description: Reload Yandex Station notify services. send_command: + name: Send Command description: Send command to Yandex.Station. target: entity: @@ -10,16 +11,19 @@ send_command: domain: media_player fields: command: + name: Command description: "Command: sendText, rewind, play, stop, prev, next, playMusic, setVolume" example: 'sendText' selector: text: text: + name: Text description: For sendText command example: Повтори за мной "Тестовое уведомление" selector: text: position: + name: Position description: For rewind command example: 120 selector: @@ -28,11 +32,13 @@ send_command: max: 3600 mode: box id: + name: ID description: For playMusic command example: '2' selector: text: type: + name: Type description: For playMusic command (artist, track, album or playlist) example: 'artist' select: @@ -42,6 +48,7 @@ send_command: - album - playlist volume: + name: Volume description: For setVolume command example: 0.5 selector: @@ -50,48 +57,3 @@ send_command: max: 1 step: 0.1 mode: box - -mute: - name: Mute humidifier - description: - target: - entity: - integration: yandex_station - domain: humidifier - fields: - state: - name: State - description: Set state - required: true - selector: - boolean: - -ionization: - name: Turn on ionization - description: - target: - entity: - integration: yandex_station - domain: humidifier - fields: - state: - name: State - description: Set state - required: true - selector: - boolean: - -backlight: - name: Turn on backlight - description: - target: - entity: - integration: yandex_station - domain: humidifier - fields: - state: - name: State - description: Set state - required: true - selector: - boolean: \ No newline at end of file