Sony Bravia TV (55XD8509C) always mutes tv audio when used in a scene

I have been trying to build a scene called ‘movie time’ which:

  • Turns off all Lights
  • Turns on TV from off.
  • Turns on mediacenter (RPI)
  • Switches to HDMI2
  • Sets volume to 24 on Sony Bravia

This all works really well, and the volume changes to 24 as expected, and then for no reason at all the TV mutes itself. I can press the volume up/down to unmute it. But theres no reason it should be muting itself. I’m assuming theres an issue with the integration where the mute command is being badly interpretted, failing and then defaulting to a mute state.

It’s strange as you see also see it happen on the tv as the scene runs. (so obviously volume adjust works and mute works!)

I checked the scene.yml just to see how it looks in there, and it looks just as i expect it to with ‘is_volume_muted’ set to ‘false’ everywhere.

 media_player.libreelec_lng:
      volume_level: 1
      is_volume_muted: false
      supported_features: 186303
      state: idle
    media_player.sony_kd_55x8509c:
      source_list:
      - HDMI 1
      - HDMI 2/MHL
      - HDMI 3
      - HDMI 4/ARC
      - AV 1
      - AV 2/Component
      - Screen mirroring
      volume_level: 0.24
      is_volume_muted: false
      media_content_id: extInput:hdmi?port=2
      media_title: HDMI 2/MHL
      source: HDMI 2/MHL
      assumed_state: true
      device_class: tv
      friendly_name: sony_kd_55x8509c
      supported_features: 155581
      state: 'on'
    remote.sony_kd_55x8509c:
      friendly_name: Dining Room TV
      supported_features: 0
      state: 'on'

Here is the full scene just in case anyone spots anything weird?? Is there anything i can try the scene 99% the way there! lol.

- id: '1717637611276'
  name: Movie Time
  entities:
    light.kitchen_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Kitchen Light
      supported_features: 44
      state: 'off'
    light.sun_room_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Sun Room Light
      supported_features: 44
      state: 'off'
    light.porch_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Porch Light
      supported_features: 44
      state: 'off'
    light.toilet_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Toilet Light
      supported_features: 44
      state: 'off'
    light.lounge_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Lounge Light
      supported_features: 44
      state: 'off'
    light.dining_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode:
      brightness:
      friendly_name: Dining Light
      supported_features: 44
      state: 'off'
    light.reception_light:
      effect_list:
      - blink
      - breathe
      - okay
      - channel_change
      - finish_effect
      - stop_effect
      supported_color_modes:
      - brightness
      effect:
      color_mode: brightness
      brightness: 3
      friendly_name: Reception Light
      supported_features: 44
      state: 'on'
    media_player.kitchen_echo_dot:
      source_list:
      - Local Speaker
      volume_level: 0
      is_volume_muted: true
      media_content_type: standby
      media_position_updated_at: '2024-06-06T01:58:00.360603+00:00'
      source: Local Speaker
      shuffle: false
      available: true
      last_called: true
      last_called_timestamp: 1717639247844
      last_called_summary: turn on movie time
      connected_bluetooth:
      bluetooth_list: []
      friendly_name: Kitchen Echo Dot
      supported_features: 56253
      state: standby
    media_player.libreelec_lng:
      volume_level: 1
      is_volume_muted: false
      supported_features: 186303
      state: idle
    media_player.sony_kd_55x8509c:
      source_list:
      - HDMI 1
      - HDMI 2/MHL
      - HDMI 3
      - HDMI 4/ARC
      - AV 1
      - AV 2/Component
      - Screen mirroring
      volume_level: 0.24
      is_volume_muted: false
      media_content_id: extInput:hdmi?port=2
      media_title: HDMI 2/MHL
      source: HDMI 2/MHL
      assumed_state: true
      device_class: tv
      friendly_name: sony_kd_55x8509c
      supported_features: 155581
      state: 'on'
    remote.sony_kd_55x8509c:
      friendly_name: Dining Room TV
      supported_features: 0
      state: 'on'
  metadata:
    light.kitchen_light:
      entity_only: true
    light.sun_room_light:
      entity_only: true
    light.porch_light:
      entity_only: true
    light.toilet_light:
      entity_only: true
    light.lounge_light:
      entity_only: true
    light.dining_light:
      entity_only: true
    light.reception_light:
      entity_only: true
    media_player.kitchen_echo_dot:
      entity_only: true
    media_player.libreelec_lng:
      entity_only: true
    media_player.sony_kd_55x8509c:
      entity_only: true
    remote.sony_kd_55x8509c:
      entity_only: true