Skip to content

Commit

Permalink
fix: mark v2_active field on CL lights as optional (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptk committed May 29, 2023
1 parent 03cc05c commit fa46542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomnilogic_local/models/mspconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, **data: Any) -> None:
class MSPColorLogicLight(OmniBase):
omni_type: OmniType = OmniType.CL_LIGHT
type: ColorLogicLightType | str = Field(alias="Type")
v2_active: Literal["yes", "no"] = Field(alias="V2-Active")
v2_active: Literal["yes", "no"] | None = Field(alias="V2-Active")


class MSPBoW(OmniBase):
Expand Down

0 comments on commit fa46542

Please sign in to comment.