fixtSE
FixtSEFixtSE
Blog
Membership
Shop
Booking
About
Blog
Membership
Shop
Booking
About

Youtube
Instagram
RSS
Github
Patreon
Privacy
Fixtβ€’Β© 2025
Updated: Nov 3, 2023β€”2 min read

How to integrate Spotify in Home Assistant

Written by: Fixt

If you're subscribed to our Channel
Login with your Google account to get our Smart Tutorial Experience!

TABLE OF CONTENTS
Spotify IntegrationSpodcast InstallationSpodcast ConfigurationAutomation ExampleExample Spodcast automation

Featured

AI Assistant Notification BlueprintAI Assistant Notification Blueprint
Get Spotcast working again | Spotify Home Assistant IntegrationGet Spotcast working again | Spotify Home Assistant Integration

Related

Tags

Music
Home-Assistant
Tutorial
Integration

If you like my work, please consider supporting me on Ko-fi! β˜•πŸŽ‰

← Back to the blog
There is an updated version of this tutorial available. You can find it here.

Spotify Integration
#

Open your Home Assistant and show de integration menu
You can use this button to start the setup process. It will open the integration page in Home Assistant.
  1. Spotify Developer Dashboard
  2. Home Assistant Documentation
Redirect URI:
https://my.home-assistant.io/redirect/oauth

Spodcast Installation
#

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.
You can use this button to be redirected to the download page. It will open the repository's page in HACS.

You can find the documentation here.

Spodcast Configuration
#

config/configuration.yaml

spotcast:
 sp_dc: !secret sp_dc
 sp_key: !secret sp_key
 country: SE #optional, added in 3.6.24

Automation Example
#

Example Spodcast automation
#

config/automations.yaml

description: ""
trigger:
 - platform: time
   at: "08:00:00"
condition: []
action:
 - service: spotcast.start
   data:
     limit: 20
     force_playback: false
     random_song: false
     repeat: "off"
     shuffle: false
     offset: 0
     ignore_fully_played: false
     entity_id: media_player.living_room
     uri: spotify:track:6JTWpLuDTujTnBaNjEHydI
mode: single

Tags

Music
Home-Assistant
Tutorial
Integration
← Back to the blog

Featured

AI Assistant Notification BlueprintAI Assistant Notification Blueprint
Get Spotcast working again | Spotify Home Assistant IntegrationGet Spotcast working again | Spotify Home Assistant Integration

Related

Tags

Music
Home-Assistant
Tutorial
Integration