diff --git a/src/HABApp/openhab/definitions/rest/things.py b/src/HABApp/openhab/definitions/rest/things.py index 8d317ea9..7b6c9dae 100644 --- a/src/HABApp/openhab/definitions/rest/things.py +++ b/src/HABApp/openhab/definitions/rest/things.py @@ -12,7 +12,7 @@ class ChannelResp(Struct, kw_only=True): uid: str id: str - channel_type: str = field(name='channelTypeUID') + channel_type: Optional[str] = field(default=None, name='channelTypeUID') item_type: Optional[str] = field(default=None, name='itemType') kind: str label: str = ''