Skip to content

Commit

Permalink
Update services.yaml for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jan 15, 2024
1 parent e6bde67 commit 2ddb940
Showing 1 changed file with 9 additions and 51 deletions.
60 changes: 9 additions & 51 deletions custom_components/yandex_station/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@ reload:
description: Reload Yandex Station notify services.

send_command:
name: Send Command
description: Send command to Yandex.Station.
target:
entity:
integration: yandex_station
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:
Expand All @@ -28,20 +32,19 @@ 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:
options:
- artist
- track
- album
- playlist
selector:
text:
volume:
name: Volume
description: For setVolume command
example: 0.5
selector:
Expand All @@ -50,48 +53,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:

0 comments on commit 2ddb940

Please sign in to comment.