Skip to content

Commit

Permalink
Merge pull request #836 from Morg42/yxc
Browse files Browse the repository at this point in the history
yamahayxc: fix status info updates
  • Loading branch information
Morg42 authored Oct 13, 2023
2 parents 2dfcff1 + c1781aa commit 90f8db3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yamahayxc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ def _update_state(self, yamaha_host, update_items=True):
if state is None:
return
state2 = self._submit_payload(yamaha_host, self._build_cmd_get_play_state())
state.update(state2)
state2.update(state)
state = state2

# retrieving only single items from device is not possible
# so just get everything and update sh.py items
Expand Down

0 comments on commit 90f8db3

Please sign in to comment.