在 HomeKit 我的代码是
HMAction *myAction = [[HMCharacteristicWriteAction alloc]
initWithCharacteristic:[[lightBulbService characteristics] objectAtIndex:0] targetValue:characteristicValue];
HMCharacteristicWriteAction 有方法 initWithCharacterstic 需要两个参数
1)对于需要传递的initWithCharacteristic,HMService对象。
2)对于targetValue,我需要为targetValue传递什么?
我需要知道特征的目标值是什么?