Hi. I have encountered a problem with controlling volume in media player integration. I don’t know if it matters, but hardwrae is Bluesound streamer.
I am running an automation to play internet radio stream. Automation and script code pasted below. It runs as intended - source is played with requested volume of 6%. However, I cannot increase volume through UI volume up button in mini media player card. I can only lower the volume and then go back to 6%, but not more.
Volume slider works, allowing me to go above 6%, but not the button. Did someone encountered something like this before and knows how to solve, perhaps?
I am running core-2021.11.1 Home Assistant Supervised.
alias: Radio on workday morning description: '' trigger: - platform: state entity_id: binary_sensor.iphone_marcin_focus to: 'off' from: 'on' for: hours: 0 minutes: 3 seconds: 0 milliseconds: 0 condition: - condition: state entity_id: binary_sensor.marcin_presence state: 'on' - condition: state entity_id: binary_sensor.workday_sensor state: 'on' - condition: time weekday: - mon - wed - thu - fri action: - service: script.play_rns_in_salon mode: single
and here is the script:
alias: Play RNŚ in Salon sequence: - service: media_player.select_source target: entity_id: media_player.salon data: source: Radio Nowy Świat (Muzyka) - service: media_player.volume_set data: volume_level: 0.06 target: entity_id: media_player.salon - service: media_player.media_play target: entity_id: media_player.salon mode: single icon: mdi:radio