Hi there, I’ve been using the Lyrion/squeezebox/Lms integration and it’s great. However, it doesn’t have a current volume entity or attitude. I’ve seen that you can use a service to do this, but I’m a complete noob and just can’t work it out. Would someone mind walking through the whole process for me please? My final aim is to have an automation which resets the volume of a player to a minimum, if it’s below that minimum at a given time. Otherwise, the volume is left alone. Hence needing to know the current volume. Thanks in advance.
Hi, welcome to the forum!
This retrieves the volume:
{{ state_attr('media_<your_media_player>', 'volume_level') | float }}
Lyrion has got a plugin for that function. Also for setting max volume on a player