Skip to content

hap-fluent / PartialServiceState

Type Alias: PartialServiceState

ts
type PartialServiceState = Partial<ServiceState>;

Defined in: packages/hap-fluent/src/type-utils.ts:94

A partial ServiceState for incremental characteristic updates.

Example

typescript
const update: PartialServiceState = {
  on: true,
  brightness: 100
};

Released under the Apache-2.0 License.