Update Services.h
Made Characteristic::PositionState **optional** for Service::WindowCovering. This appears to be a bug/exception in HAP-R2. Need to reflect this in on-line docs.
This commit is contained in:
parent
d849595bfe
commit
1eea70aa47
|
|
@ -363,9 +363,9 @@ namespace Service {
|
|||
}};
|
||||
|
||||
struct WindowCovering : SpanService { WindowCovering() : SpanService{"8C","WindowCovering"}{
|
||||
REQ(CurrentPosition);
|
||||
REQ(TargetPosition);
|
||||
REQ(PositionState);
|
||||
REQ(CurrentPosition);
|
||||
OPT(PositionState);
|
||||
OPT(Name);
|
||||
OPT(HoldPosition);
|
||||
OPT(CurrentHorizontalTiltAngle);
|
||||
|
|
|
|||
Loading…
Reference in New Issue