Global Variable

HMCharacteristicTypeOutputState

The output state of a programmable switch.

Declaration

NSString *const HMCharacteristicTypeOutputState;

Discussion

The value represents the state of a programmable switch. For a binary switch, a value of 1 indicates that the switch is in the ON position.

See Also

Power and Switches

HMCharacteristicTypeBatteryLevel

The battery level of the accessory.

HMCharacteristicTypeChargingState

The charging state of a battery.

HMCharacteristicTypeContactState

The state of a contact sensor.

HMCharacteristicTypeOutletInUse

The state of an outlet.

HMCharacteristicTypePowerState

The power state of the accessory.

HMCharacteristicTypeStatusLowBattery

A low battery indicator.

HMCharacteristicTypeInputEvent

The input event of a programmable switch.