view --main play-youtube-on-tv-skill-dlya-apple-tv-i-home-assistant.md
play-youtube-on-tv: Скилл для Apple TV и Home Assistant
readonly
--- lines
---
name: play-youtube-on-tv
description: Play a YouTube video or URL on Evan's Apple TV via Home Assistant. Use this skill when asked to play, cast, or put a YouTube video on the TV.
---
# Play YouTube on TV Skill
Play YouTube videos on Evan's Apple TV using the `script.play_youtube_on_apple_tv` Home Assistant script.
## Script Details
- **Script ID**: `play_youtube_on_apple_tv`
- **What it does**:
1. Turns on the Apple TV if it's in standby (waits 6 seconds for it to wake)
2. Plays the YouTube URL via `media_player.apple_tv`
3. Sets the Living Room Sonos speaker volume
## Fields
| Field | Required | Default | Description |
|-------|----------|---------|-------------|
| `youtube_url` | Yes | — | Full YouTube URL to play |
| `volume` | No | 20 | Sonos speaker volume (1–100) |
## Usage
Call the script via the `script` domain:
```
ha_call_service(
domain="script",
service="play_youtube_on_apple_tv",
data={
"youtube_url": "<url>",
"volume": 20
}
)
```
## Notes
- If the user doesn't specify a volume, use the default of **20**.
- The `youtube_url` should be passed exactly as given by the user — full URL including any playlist or start_radio params is fine.
- No need to ask which media player — this always targets the Apple TV + Living Room Sonos.
Инициализация мануала...
//
$ ls -R related_skills/
2026-03-31
⭐ 291
byted-las-audio-extract-and-split: Скилл извлечения и разделения аудио
2026-03-30
⭐ 3588
Social-Intelligence — Анализ данных из социальных сетей для AI
2026-03-29
⭐ 3556
fal-ai — Удобный доступ к AI-агентам Clawhub
2026-03-31
⭐ 3630
keevx-image-to-video: Скилл для создания видео из фото
package.json
$ install --global
skills.sh
npx skills add https://github.com/evanpurkhiser/dots-personal/tree/main/machines/server/opencode/skills/play-youtube-on-tv
$ download --local
man
[HINT] Скачивает всю директорию скилла с GitHub: SKILL.md и все связанные файлы