From fabe5fd43a45516c54835337c8beac0f1d021d0c Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Wed, 3 Jul 2024 10:20:57 +0200 Subject: [PATCH] denon plugin: fix resend_info --- denon/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denon/__init__.py b/denon/__init__.py index 905db1c62..6ace0cb1c 100755 --- a/denon/__init__.py +++ b/denon/__init__.py @@ -109,7 +109,7 @@ def _set_device_defaults(self): # the sent command. Getting it as return value would assign it to the wrong # command and discard it... so break the "return result"-chain and don't # return anything - def _send(self, data_dict, resend_info=None): + def _send(self, data_dict, resend_info={}): if resend_info.get('returnvalue') is not None: self._sending.update({resend_info.get('command'): resend_info}) return self._connection.send(data_dict)