brightness
This commit is contained in:
@@ -18,8 +18,8 @@ class LightState(BaseModel):
|
||||
color: Optional hex color string in format "#RRGGBB"
|
||||
"""
|
||||
|
||||
power: Literal["on", "off"] = Field(
|
||||
...,
|
||||
power: Optional[Literal["on", "off"]] = Field(
|
||||
None,
|
||||
description="Power state of the light"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user