public string GetLabel() { LifxGetLabelCommand command = new LifxGetLabelCommand(); LifxCommunicator.Instance.SendCommand(command, this); return(((LifxLabelMessage)command.ReturnMessage).BulbLabel); }
public async Task <LifxLabelMessage> GetLabelCommand() { LifxGetLabelCommand command = new LifxGetLabelCommand(); return(await LifxCommunicator.Instance.SendCommand(command, this) as LifxLabelMessage); }