Skip to content

Commit b4b7588

Browse files
micha91frenck
andauthored
Fix MusicCast select current_option (home-assistant#63668)
Co-authored-by: Franck Nijhof <[email protected]>
1 parent 431d15b commit b4b7588

File tree

1 file changed

+1
-1
lines changed
  • homeassistant/components/yamaha_musiccast

1 file changed

+1
-1
lines changed

homeassistant/components/yamaha_musiccast/select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ def options(self):
5959
@property
6060
def current_option(self):
6161
"""Return the currently selected option."""
62-
return self.capability.options[self.capability.current]
62+
return self.capability.options.get(self.capability.current)

0 commit comments

Comments
 (0)