this post was submitted on 04 Jun 2023
9 points (100.0% liked)
homeassistant
175 readers
1 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This one requires a little bit of python coding...hope you know how to do it
1.Create an input_text sensor in HA for the rating 2.Install pyscript from HACS 3.Write python code to create a service by utilizing Cinemagoer library..steps here A) identify movie ID from title B) get rating for movie ID C) write rating into input_text sensor in HA 4.Set automation so that when your chromecast starts playing that the script is started with the movie name 5. Create another automation for when the rating sensor is filled to announce it via text to speech or notification on your phone
Great advice. I do know python, but I haven’t used it with home assistant. I mainly use node red.