Skip to content

media_player: Remove refrence to deprecated STANDBY constant - #14

Open
eklundjon wants to merge 1 commit into
simbaja:masterfrom
eklundjon:mediaplayer_constant_update
Open

media_player: Remove refrence to deprecated STANDBY constant#14
eklundjon wants to merge 1 commit into
simbaja:masterfrom
eklundjon:mediaplayer_constant_update

Conversation

@eklundjon

@eklundjon eklundjon commented Jul 18, 2026

Copy link
Copy Markdown

MediaPlayerState.STANDBY is being removed in HA 2026.8, so changing to use MediaPlayerState.IDLE instead.

Fixes #13

While in there, also remove legacy STATE_PLAYING and STATE_PAUSED imports in favor of MediaPlayerState.PLAYING and MediaPlayerState.PAUSED, respectively. The string values of the constants are the same.

MediaPlayerState.STANDBY is being removed in HA 2026.8, so changing to
use MediaPlayerState.IDLE instead.

While in there, also remove legacy STATE_PLAYING and STATE_PAUSED
imports in favor of MediaPlayerState.PLAYING and MediaPlayerState.PAUSED,
respectively. The string values of the constants are the same.
@eklundjon eklundjon changed the title media_player: Remove refrence to deprecatd STANDBY constant media_player: Remove refrence to deprecated STANDBY constant Jul 18, 2026
@eklundjon
eklundjon force-pushed the mediaplayer_constant_update branch from 7c84fec to ee7f4a3 Compare July 18, 2026 21:51
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.

Deprecated enum member MediaPlayerState.STANDBY

1 participant