diff --git a/pywr_editor/model/component_config.py b/pywr_editor/model/component_config.py index cbcbb80..31086cb 100644 --- a/pywr_editor/model/component_config.py +++ b/pywr_editor/model/component_config.py @@ -19,7 +19,7 @@ def type(self) -> str | None: :return: The lowercase string identifying the component type. """ if "type" in self.props and self.props["type"]: - return self.props["type"] + return self.props["type"].lower() return None @property