Hey there!
I’m currently using the Spotify Connect addon and have my HA linked to my audio receiver via Cinch in order to play music. I’m wondering whether there is a way to read the logs of the Spotify Connect addon to see whenever I connected to the addon to play music. This would be a fast and reliable trigger for an automation to turn on the audio receiver.
Why I’m asking:
I’m also using the Spotify integration which makes me able to check the general state of Spotify and also on which device I’m currently streaming my music. This triggers my automation to turn on my audio receiver. Unfortunately the Spotify integration has a major disadvantage: It only updates every 30 seconds so that - in the worst case - my audio receiver will need 30 seconds to turn on. So I’m looking for a solution to bypass this problem and using the Spotify Connect state would be one that might work.
Do you have any ideas how to make this work in HassOS?