Global Variable

HMCharacteristicTypePowerState

The power state of the accessory.

Declaration

NSString *const HMCharacteristicTypePowerState;

Discussion

The corresponding value is a Boolean indicating the power state of an accessory. A value of true indicates that the accessory is powered on.

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.

HMCharacteristicTypeStatusLowBattery

A low battery indicator.

HMCharacteristicTypeOutputState

The output state of a programmable switch.

HMCharacteristicTypeInputEvent

The input event of a programmable switch.