| 1 | --- |
| 2 | # HassMediaSearchAndPlay - name_only |
| 3 | # example: play Pink Floyd on Sonos Speakers |
| 4 | # slots: |
| 5 | # - {name} |
| 6 | # - {search_query} |
| 7 | |
| 8 | language: "en" |
| 9 | entities: |
| 10 | - name: "TV" |
| 11 | domain: "media_player" |
| 12 | media: |
| 13 | - title: "The Office" |
| 14 | |
| 15 | tests: |
| 16 | - sentences: |
| 17 | - "play The Office on the TV" |
| 18 | slots: |
| 19 | name: "TV" |
| 20 | search_query: "The Office" |
| 21 | response: "Playing media" |