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 de739cf commit 40e2f83
Showing 1 changed file with 7 additions and 45 deletions.
52 changes: 7 additions & 45 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,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:
Expand All @@ -42,6 +48,7 @@ send_command:
- album
- playlist
volume:
name: Volume
description: For setVolume command
example: 0.5
selector:
Expand All @@ -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:

0 comments on commit 40e2f83

Please sign in to comment.