Skip to content

Commit

Permalink
fix: sound mode scripts not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
EuleMitKeule authored Jun 6, 2024
1 parent ed26e59 commit 74df4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/template_media_player/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def source_list(self) -> list[str]:

@property
def sound_mode_list(self) -> list | list[str] | None:
if self._sound_mode_scripts is None:
if self._sound_mode_scripts is not None:
return list(self._sound_mode_scripts.keys())

if self.base_media_player_entity is not None:
Expand Down

0 comments on commit 74df4bd

Please sign in to comment.