Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set optional parameters to 'required: false' #198

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions custom_components/spotcast/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ start:
name: "Force Playback"
description: "In case of transfering playback: If true starts playing the user's last playback even if nothing is currently playing."
example: true
required: true
required: false
default: false
selector:
boolean:
random_song:
name: "Random Song"
description: "Starts the playback at a random position in the playlist or album."
example: true
required: true
required: false
default: false
selector:
boolean:
repeat:
name: "Repeat"
description: "Set repeat mode for playback."
example: "track"
required: true
required: false
default: "off"
selector:
select:
Expand All @@ -78,7 +78,7 @@ start:
name: "Offset"
description: "Set offset mode for playback. 0 is the first song."
example: 1
required: true
required: false
default: 0
selector:
number:
Expand Down