Global Variable

HMCharacteristicTypeOutputState

The output state of a programmable switch.

Declaration

let HMCharacteristicTypeOutputState: String

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

let HMCharacteristicTypeBatteryLevel: String

The battery level of the accessory.

let HMCharacteristicTypeChargingState: String

The charging state of a battery.

let HMCharacteristicTypeContactState: String

The state of a contact sensor.

let HMCharacteristicTypePowerState: String

The power state of the accessory.

let HMCharacteristicTypeInputEvent: String

The input event of a programmable switch.