Skip to content

Configuration: Events

Brady Mulhollem edited this page May 4, 2021 · 7 revisions

Minimum Version: 2.9.0

Events

The component will provide the following events:

  • alexa_media_relogin_required - (>= 3.0.0) The component has detected a need to relogin. This may be useful to detect when services will stop working because the cookies have expired. It will return two values:

    1. email - The account
    2. url - The Amazon url

    DEPRECATION WARNING: This was previously alexa_media_player/relogin_required but was deprecated in the 3.0.0 since the HA UI does not allow testing of events with /. alexa_media_player_relogin_required was also deprecated in 3.0.0. Please switch your automations over.

  • alexa_media_relogin_success - (>= 3.0.0) The component has successfully relogged in. It will return two values:

    1. email - The account
    2. url - The Amazon url

    DEPRECATION WARNING: alexa_media_player_relogin_success was deprecated in 3.0.0. Please switch your automations over.

  • alexa_media_notification_event - (>= 3.2) An Amazon notification (Timer/Alarm/Reminder) has triggered. It will return two values:

    1. email - The account
    2. event - The notification json that triggered the event. The event should be queried to determine the type.
  • alexa_media_alarm_dismissal_event - (>= 3.10) An Amazon alarm has been dismissed. It will return two values:

    1. device - The serial number of the Echo device.
    2. event - The notification json that triggered the event. The event can be queried to determine more details.

Automations

Please see Automations Page