Hello. I have python script, that downloads image from last.fm when spotify is playing, then identifies most prevalent color of album image and sets tuya rgb lamps to that color.
I am wondering if it can be done in HA - if I can access album image, that spotify entity in HA downloads and then run some python image manipulation to find the color of of album and set tuya rgb to that (or call ifttt that sets the color).