Skip to content

Commit

Permalink
Merge pull request #14 from cdce8p/patch-1
Browse files Browse the repository at this point in the history
Fix SyntaxWarning
  • Loading branch information
noahhusby authored Aug 10, 2024
2 parents 47bbb7a + 16eae2d commit 79373d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiorussound/rio.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _store_cached_variable(self, device_str: str, key: str, value: str):
for callback in self._callbacks.get(device_str, []):
callback(device_str, key, value)
# Handle source callback
if device_str[0] is 'S':
if device_str[0] == 'S':
for controller in self._controllers.values():
for zone in controller.zones.values():
source = zone.fetch_current_source()
Expand Down

0 comments on commit 79373d7

Please sign in to comment.