diff --git a/velbusaio/channels.py b/velbusaio/channels.py index 80b62f8..fc60589 100644 --- a/velbusaio/channels.py +++ b/velbusaio/channels.py @@ -131,6 +131,7 @@ def __str__(self): def get_channel_info(self) -> dict[str, Any]: data = {} for key, value in self.__dict__.items(): + data['type'] = self.__class__.__name__ if key not in ["_module", "_writer", "_name_parts", "_on_status_update"]: data[key.replace("_", "", 1)] = value return data