Skip to content

Commit

Permalink
[ 1.0.6 ] * Updated service player_transfer_playback schema to make…
Browse files Browse the repository at this point in the history
… the `device_id` argument optional instead of required. This allows the active spotify connect player to be used (if desired) when transferring playback.

  * commented out the `ignore: "brands"` in validate.yaml, as brands have been added for the integration.
  • Loading branch information
thlucas1 committed Mar 5, 2024
1 parent 1b235ec commit caaf328
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
category: "integration"
# Comment the following 'ignore' key when you have added brand images for your integration to https://github.com/home-assistant/brands
ignore: "brands"
#ignore: "brands"

validate-hassfest:
name: "HASSFest Validation"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Change are listed in reverse chronological order (newest to oldest).

<span class="changelog">

###### [ 1.0.6 ] - 2024/03/05

* Updated service `player_transfer_playback` schema to make the `device_id` argument optional instead of required. This allows the active spotify connect player to be used (if desired) when transferring playback.
* commented out the `ignore: "brands"` in validate.yaml, as brands have been added for the integration.

###### [ 1.0.5 ] - 2024/03/02

* Added configuration option `default_device` to allow a user to specify a default Spotify Connect device to use when one is not active.
Expand Down
2 changes: 1 addition & 1 deletion custom_components/spotifyplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
SERVICE_SPOTIFY_PLAYER_TRANSFER_PLAYBACK_SCHEMA = vol.Schema(
{
vol.Required("entity_id"): cv.entity_id,
vol.Required("device_id"): cv.string,
vol.Optional("device_id"): cv.string,
vol.Optional("play"): cv.boolean,
}
)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/spotifyplus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"spotifywebapiPython==1.0.33",
"urllib3>=1.21.1,<1.27"
],
"version": "1.0.5",
"version": "1.0.6",
"zeroconf": [ "_spotify-connect._tcp.local." ]
}

0 comments on commit caaf328

Please sign in to comment.