How to access Sonos favorites from an automation?

I’m trying to play a Sonos favorite from an automation. For example Pandora’s “80s Greatest Hits”. I read the favorites documentation at the link below, but I’m unclear how to accomplish this. The part in the “Tip” shown below on how to enable the favorites sensor sensor.sonos_favorites does not explain what to do under “Devices & services”.

Any help would be greatly appreciated.

Sonos - Home Assistant

Never mind, I dug a little deeper and got it. Thanks anyway!

action: media_player.play_media
metadata: {}
data:
  media:
    media_content_id: >-
      S://ds418/Media%20Library/Music%20Library%20Karen/Elvis%20Presley/Elvis%2030%20%231%20Hits%20(Expanded%20Edition)
    media_content_type: directory
    metadata:
      title: "Elvis 30 #1 Hits (Expanded Edition)"
      thumbnail: null
      media_class: directory
      children_media_class: null
      navigateIds:
        - {}
        - media_content_type: library
          media_content_id: ""
        - media_content_type: directory
          media_content_id: "S:"
        - media_content_type: directory
          media_content_id: S://ds418/Media%20Library/Music%20Library%20Karen
        - media_content_type: directory
          media_content_id: S://ds418/Media%20Library/Music%20Library%20Karen/Elvis%20Presley
      browse_entity_id: media_player.office
target:
  entity_id: media_player.office