Skip to content

Commit

Permalink
remove unneeded type attributes on WebsocketNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
terencehonles authored Aug 6, 2024
1 parent 9d2c2d9 commit d03ec10
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions homeassistant/components/bang_olufsen/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@ class BangOlufsenModel(StrEnum):
class WebsocketNotification(StrEnum):
"""Enum for WebSocket notification types."""

PLAYBACK_ERROR: Final[str] = "playback_error"
PLAYBACK_METADATA: Final[str] = "playback_metadata"
PLAYBACK_PROGRESS: Final[str] = "playback_progress"
PLAYBACK_SOURCE: Final[str] = "playback_source"
PLAYBACK_STATE: Final[str] = "playback_state"
SOFTWARE_UPDATE_STATE: Final[str] = "software_update_state"
SOURCE_CHANGE: Final[str] = "source_change"
VOLUME: Final[str] = "volume"
PLAYBACK_ERROR = "playback_error"
PLAYBACK_METADATA = "playback_metadata"
PLAYBACK_PROGRESS = "playback_progress"
PLAYBACK_SOURCE = "playback_source"
PLAYBACK_STATE = "playback_state"
SOFTWARE_UPDATE_STATE = "software_update_state"
SOURCE_CHANGE = "source_change"
VOLUME = "volume"

# Sub-notifications
NOTIFICATION: Final[str] = "notification"
REMOTE_MENU_CHANGED: Final[str] = "remoteMenuChanged"
NOTIFICATION = "notification"
REMOTE_MENU_CHANGED = "remoteMenuChanged"

ALL: Final[str] = "all"
ALL = "all"


DOMAIN: Final[str] = "bang_olufsen"
Expand Down

0 comments on commit d03ec10

Please sign in to comment.