Ambient lights automation

Hello all

I have some questions about one automation that im doing.

I have ambient lights on my Samsung TV and i want them to turn on based on the source state of my TV, for example if i change to nextflix the source state will change on the identity of the TV and the ambient ligths will turn on.

The problem is that they dont turn on, the state changes but the lights wont turn on.

I´m sharing my automation :

- id: '1612512918040'
  alias: Ambient Light
  description: ''
  trigger:
  - platform: state
    entity_id: media_player.samsung_tv_remote
    attribute: source
    from: hdmi
    to: disney+
  - platform: state
    entity_id: media_player.samsung_tv_remote
    attribute: source
    from: hdmi
    to: netflix
  condition: []
  action:
  - type: turn_on
    device_id: b152fdf8748508cdd7afc5416927503e
    entity_id: light.tv_led
    domain: light
    brightness_pct: 66
  mode: single

i´m doing something wrong?

this is what i have on the developer tools :

Because if execute the automation the ambient lights turn on.

Thanks in advace

Change your from and to states, the values are case sensitive, exactly like you see in the source list.
HDMI, Disney+, Netflix

Hi @Burningstone

Already did it before open this question and the result is the same.

Please check the exact names when you switch the source under Developer Tools -> States

I see now in your screenshot that for example it’s TV/HDMI and not just HDMI.

Hi @Burningstone

That was the problem is not only HDMI but TV/HDMI

Thank you so much