python
This commit is contained in:
55
custom_components/yandex_station/services.yaml
Normal file
55
custom_components/yandex_station/services.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
reload:
|
||||
name: 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:
|
||||
number:
|
||||
min: 0
|
||||
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'
|
||||
selector:
|
||||
text:
|
||||
volume:
|
||||
name: Volume
|
||||
description: For setVolume command
|
||||
example: 0.5
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
max: 1
|
||||
step: 0.01
|
||||
mode: box
|
||||
Reference in New Issue
Block a user