Can you help me detect the reason why the automation to turn on the living room light does not trigger when a call is received
alias: ALEXA prueba_1
description: ""
trigger:
- platform: event
event_type: alexa_media_player_state_changed
event_data:
entity_id: media_player.echo_show_8_2_a_generacion_de_carlos
new_state:
state: playing
condition:
- condition: template
value_template: "{{ trigger.to_state.attributes.media_content_type == 'call' }}"
action:
- entity_id: light.luz_salon
action: light.turn_on
Thank you