A now-playing card for one — or many — Home Assistant media_player entities. Artwork, transport, a live progress bar, volume, a multi-speaker picker that can join speakers into one synced group, quick-source favorites, and a unified browser spanning Home Assistant, Plex, NAS, and Apple Music. The card adapts to its tile size and draws identically on iPhone, iPad, and Apple TV.
The widget shows the now-playing state of the speakers you point it at: title, artist / show / app, album art, and transport controls. Any HA media player works — Sonos, Alexa, HomePod, a receiver, an Apple TV, a Music Assistant player — they're all just media players to Home Assistant. You add several to one widget and pick which ones to control at runtime; every command fans out to your current selection, so a mixed Sonos + Alexa + HomePod group all obey play, pause, skip, and volume together.
The card has four layouts that switch on tile size: a micro tile (play button, maybe a title), a compact row, the standard card (art beside text with transport and volume), and a tall hero (big artwork on top). Bigger tiles reveal more — the progress bar, then the volume slider, appear as height allows.
media_player entities as the speaker pool.You don't have to add every speaker up front — the speaker picker can add any other HA media player on the spot (see below).
The speaker button (a hi-fi-speaker chip showing the selected count) opens the Play on picker:
Grouping (multi-room): when two or more speakers are selected, Group these speakers joins them into one synced group via Home Assistant's media_player.join — the first selected speaker becomes the master, the rest become its group members, so they all play one stream perfectly in sync (Sonos, AirPlay 2, Music Assistant…). Ungroup calls media_player.unjoin on each selected speaker. Speakers Flux recognizes as AirPlay-2 capable (Sonos, Apple TV, HomePod) are tagged with a badge — informational only.
The card shows the metadata of whichever selected speaker is actually playing (falling back to the first selected). When more than one speaker is selected, the subtitle notes "· N speakers".
There are two ways to start something playing.
The music-note-list chip opens your Sources list — one-tap favorites you configure in the inspector. A favorite can be:
source_list — receiver inputs, Sonos favorites, Music Assistant sources) → calls select_source; the active input gets a checkmark;play_media;Each favorite can optionally pin its own target speakers ("play X on Y"); otherwise it acts on your current selection. Choosing a favorite with pinned targets makes those speakers the card's selection.
The stacked-squares chip opens the unified media browser — one surface with four tabs:
play_media.play_media (typed video or music). Sign in under Settings → Media → Plex.Turn on Apple Music in the inspector to add "This device · Apple Music" to the speaker picker. Picking it swaps the card to a full Apple Music controller — local play/pause, skip, shuffle, repeat, a scrubbable progress bar, album art, an AirPlay route picker, the browse button, and a visualizer. An explicit speaker choice always wins, so picking HA speakers or "All speakers" reliably leaves Apple Music. (Apple's DRM blocks reading the live audio, so the visualizer animates with playback rather than the real waveform.)
| Option | What it does |
|---|---|
| Show artwork | Draw the album art chip / hero. Off → text-only card (the equalizer moves inline instead). |
| Artwork as background | Fill the whole tile with the art behind a dark scrim; text and controls go white. |
| Volume slider | Show the volume control. On Apple TV it's −/+ step buttons (no slider on tvOS). |
| Progress bar | Show the live position / duration bar. It advances locally in real time while playing. (Defaults on; only appears on tall-enough tiles.) |
| Playing animation | While music plays: Equalizer bars, Pulsing artwork (art breathes), Spinning vinyl (art becomes a turning record), or None. Defaults to bars. |
| Speakers (selection) | Which of the pool's entities commands target. Saved and synced across devices; falls back to the first source. |
| Favorites & quick sources | The one-tap source tiles: speaker inputs (from source_list), custom media ids / URIs, or pinned Apple Music items — each optionally bound to specific speakers. |
| Play Apple Music on this device | Adds "This device · Apple Music" to the picker and enables local MusicKit playback (iOS only). |
| Visualizer (Apple Music) | The animation on the Apple Music card: None, Equalizer bars, Flowing wave, Floating orbs, or Pulse rings. |
supported_features). For a device that supports turn-on (Apple TV, receiver, TV), pressing play wakes it first, so audio doesn't quietly resume behind a screensaver. Artwork is fetched with your HA token, so token-required images (Apple TV, YouTube) actually load.