From 839e815a84788cc21b62386dfcdff9fa8f50f820 Mon Sep 17 00:00:00 2001 From: Klaus Bremer Date: Sun, 16 Jan 2022 16:16:04 +0100 Subject: [PATCH] fix bug #138 introduced in 1.9.0 --- fritzconnection/lib/fritzhomeauto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fritzconnection/lib/fritzhomeauto.py b/fritzconnection/lib/fritzhomeauto.py index 2df05b9..f968cc6 100644 --- a/fritzconnection/lib/fritzhomeauto.py +++ b/fritzconnection/lib/fritzhomeauto.py @@ -72,10 +72,10 @@ def device_information(self): info = list() for n in itertools.count(): try: - info = self.get_device_information_by_index(n) + device_information = self.get_device_information_by_index(n) except IndexError: break - info.append(info) + info.append(device_information) return info def set_switch(self, identifier, on=True):