kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.48k stars 206 forks source link

Add support `assumed_state` media players #719

Closed Drafteed closed 7 months ago

Drafteed commented 1 year ago

Hello!

This small PR will add support of assumed_state media_players. Such players have separate play/pause controls and typically do not support control over media_play_pause service call.

Native media player card looks like this, if media player has assumed_state: true (https://github.com/home-assistant/frontend/pull/11642):

image

This change contains the same logic:

image
Drafteed commented 1 year ago

I'm also attach a list of core integrations where it is used at this moment: