Notify.alexa_media has stopped working

This was working, now it’s not. The repair says it’s using an unknown action. A reboot did not help and I don’t see any updates for AMP.

alias: Bedroom CO2 warning
description: "Airgradient One Bedroom warning "
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.bedroom_airgradient_one_carbon_dioxide
    above: 1000
conditions:
  - condition: time
    after: "10:00:00"
    before: "02:00:00"
actions:
  - data:
      message: >-
        The Bedroom CO2 level is {{
        states.sensor.bedroom_airgradient_one_carbon_dioxide.state}} parts per
        million
      target:
        - media_player.bedroom_echo_dot
      data:
        type: announce
    action: notify.alexa_media

Try this for devices added via Alexa Media Player

actions:
  - action: notify.alexa_media_xxxx
    data:
      message: Test message

Did you try checking the repo issues page…
All devices unavailable · Issue #3032 · alandtse/alexa_media_player · GitHub

1 Like

This gives me a malformed message @ action

This works:

alias: Test message
description: "Airgradient One Bedroom warning "
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.bedroom_airgradient_one_humidity
    below: 40
conditions:
  - condition: time
    after: "10:00:00"
    before: "02:00:00"
actions:
  - action: notify.send_message
    metadata: {}
    data:
      message: >-
        The Bedroom Humidity level is {{
        states.sensor.bedroom_airgradient_one_humidity.state}} percent
    target:
      entity_id:
        - notify.bedroom_echo_dot_announce
mode: single