Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support assumed_state media players #796

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

Drafteed
Copy link
Collaborator

@Drafteed Drafteed commented Dec 3, 2023

Reopening an accidentally closed #719 due to the re-creation of a fork.

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 (home-assistant/frontend#11642):

image

This change contains the same logic:

image

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

@Drafteed Drafteed merged commit d93edbc into kalkih:dev Dec 4, 2023
1 check passed
@Drafteed Drafteed deleted the support-assumed-players branch December 4, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant