From 19e58377c5d68d0295d4d604dfc8115ebf68bc25 Mon Sep 17 00:00:00 2001 From: Marvin Erdmann <106394656+Marvmann@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:47:51 +0100 Subject: [PATCH] Update Device.py adjust Device.py to be compatible with new device_name logic --- src/modules/devices/Device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/devices/Device.py b/src/modules/devices/Device.py index 0e904143..014958f3 100644 --- a/src/modules/devices/Device.py +++ b/src/modules/devices/Device.py @@ -25,10 +25,10 @@ def __init__(self, device_name: str): """ Constructor method """ - super().__init__() + super().__init__(device_name) self.device = None self.config = None - self.device_name = device_name + self.device_name = self.name self.config = None def get_parameter_options(self) -> dict: