Skip to content

Commit 66bdc7a

Browse files
committed
Allow default value for GroupInfo.group_class
1 parent 685373a commit 66bdc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hue2mqtt/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class GroupInfo(BaseModel):
7777
type: str
7878
state: GroupState
7979

80-
group_class: Optional[str] = Field(..., alias="class")
80+
group_class: Optional[str] = Field(default=None, alias="class")
8181

8282
action: LightState
8383

0 commit comments

Comments
 (0)