About
See and control the YouTube app on your TV from Home Assistant: what's playing, mute ads, auto-skip them, manage the queue.
Description from jorgediez/ha-youtube-on-tv
Supports
Uses the vendor's cloud Needs an internet connection and an account with the vendor.
Found by itself Home Assistant spots it on the network and offers to add it.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Media
- Switches
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Connect by IP address
- HostHostname or IP address of the TV.
Connect with a TV code
- TV codeThe 12-digit code shown on the TV. Spaces are ignored.
After setup
- Actions that open YouTubeA TV added with a code can't be opened by the integration. When its YouTube app is offline, these actions run before playing a video or turning the player on; then the integration waits up to 45 seconds for the app to come online. Example: turn on the streaming box, then select its YouTube app as the source. Leave empty to send commands without opening.
Texts from the code of jorgediez/ha-youtube-on-tv.
Entities
- Binary sensorsAd playing, YouTube session
- ButtonsSkip ad
- SelectsPlayback speed
- SensorsApp state, Up next, Subtitles, Video quality
- SwitchesAutoplay, Subtitles, Remote session
- To-do listsQueue
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
From the README
A Home Assistant integration to see and control the YouTube app on your TV: what's playing — title, channel, thumbnail, state and position — plus playback and the queue. Ads too: an Ad playing sensor to mute the TV with, and a Skip ad button that presses skip the moment YouTube offers it.
It connects to the TV the same way the YouTube phone app does when you cast (YouTube's "Lounge" protocol, via pyytlounge). Updates are pushed by the TV instantly; nothing is polled from YouTube, and no Google account or API key is needed.
- Media player — state, video, title, channel, thumbnail, duration and position; play, pause, seek, next, previous, turn on/off, and playing any video by id or YouTube URL
- Queue to-do list mirroring the TV's play queue: paste a link to add a video, drag to reorder, delete to remove; the media player can also add to the end, play next or replace the queue
- Ad playing sensor and Skip ad button, for muting or skipping ads automatically
- Autoplay, Subtitles and Remote session switches, and a Playback speed select
- Up next, Subtitles and Video quality sensors
- YouTube session and App state diagnostics
Shows in Vulpo
Quick Toggle card, Media Player card, Button card, Select card, Apple Watch, Control Center.Information
- Installs
- 55 sharing analytics
- GitHub stars
- 20
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v1.2.0,
- Category
- Media and entertainment, TV and streaming
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
youtube_on_tv- Issues
- Report an issue










