I have just finished testing a new plugin to use spotify connect devices and playlists in Pimatic, for my own use cases (Music while in the bathroom and when going to bed).
Struggling with the 2FA @ NPM so please clone the GIT repo in your pimatic-app/node_modules
directory and run npm install
in pimatic-app/node_modules/pimatic-spotify
if you want to try it out: https://github.com/SenTzu01/pimatic-spotify
Be sure to read the Readme !
Enjoy
Dan