diff --git a/src/models/helper.py b/src/models/helper.py index 78c41c1..e167049 100644 --- a/src/models/helper.py +++ b/src/models/helper.py @@ -18,7 +18,7 @@ def filter_devices( devices: list[GenericDevice], type: DEVICE_TYPE ) -> list[DEVICE_TYPE]: """Filters out devices that are not of a specific type.""" - filtered_devices: list[type] = [ + filtered_devices: list[DEVICE_TYPE] = [ device for device in devices if isinstance(device, type) ]