Detecting volume up on Sony Bravida TV

Hello, I have a Sony Bravida TV and I want to be able to increase the volume of my SONOS speakers when I increase the tv volume.

For testing I have created a input_number that goes from 0 to 100 just so that I can see if the number increases when I increase tv volume.

I have tried to make this in 3 different automations but none of them work. Here are my tries.

alias: Ny automation4
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - media_player.sony_kd_55x89j
    attribute: volume_level
    above: input_number.tv_vomym
condition: []
action:
  - service: input_number.increment
    metadata: {}
    data: {}
    target:
      entity_id: input_number.tv_vomym
mode: single
alias: Test2
description: Triggered when the volume up button is pressed on the Sony Bravia TV remote
trigger:
  - platform: event
    event_type: call_service
    event_data:
      domain: media_player
      service: volume_up
      service_data:
        entity_id: media_player.sony_kd_55x89j
condition: []
action:
  - service: input_number.set_value
    metadata: {}
    data:
      value: 50
    target:
      entity_id: input_number.tv_vomym
mode: single
alias: test
description: ""
trigger:
  - platform: state
    entity_id:
      - media_player.sony_kd_55x89j
    attribute: volume_level
    to: up
condition: []
action:
  - service: input_number.set_value
    metadata: {}
    data:
      value: 50
    target:
      entity_id: input_number.tv_vomym
mode: single

Does any of you know what could be the issue here?

Thanks.

Were you ever successful?

the original post won’t work because i don’t believe above/below accepts an entity.

also if they’re tying to understand when the volume went up vs down, they’d need to compare the prior state to the new state. not above/below a threshold.

but regardless… this is a bit of an old thread. if you have the exact question, that’s fine. if you have a different but similar question, you should start a new thread.