Hi!
I am new to home assistant, so sorry in advance if it’s a stupid question, i have tried searching for it with no luck…
I would like to write a script that is triggered when a service is run, read the parameters passed to that service and use them to trigger other services.
in particular i would like to listen in to media_player volume_set and see what kind of volume is being set.
My use case is that my remote (roku_ultra) doesn’t seem to support volume_set and the tv-card i am using is not customizable and calls that volume_set regardless of configuration… i would like to catch that call and redirect it to my receiver (maybe adding some curves for the volume change)
other than my specific use case i am really curious on how to intercept services and trigger automation on that data, i really appreciate any help!
thank you i will have a look at that android tv card as well!
i think my problem is that the media_player volume_set 1.0 only sets “40.0” on my receiver when the max volume is around 85, not sure how to remap that…
yeah figured it out, i had to add some scripts to query the actual max volume for my onkyo and change the configuration.yaml, weirdly enough the value was 164 (on display it shows around 85db), now everything seems to work fine